(151.3ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (398.7ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (13.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (73.5ms) CREATE 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)  (5.2ms) CREATE 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)  (1.9ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.9ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.9ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161116185442')  (25.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.5ms) BEGIN SQL (6.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-18 08:35:58 UTC], ["updated_at", 2016-11-18 08:35:58 UTC]]  (11.8ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (16.7ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (53.6ms) CREATE 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)  (0.2ms) ROLLBACK  (0.3ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (127.0ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (394.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (27.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (2.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (21.5ms) CREATE 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)  (6.7ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (12.3ms) COMMIT Migrating to TranslateContents (20161108132035)  (6.2ms) BEGIN  (26.9ms) CREATE 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)  (60.8ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (0.9ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (6.6ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (12.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (6.1ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (5.7ms) BEGIN  (28.4ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (5.8ms) COMMIT ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-18 08:37:18 UTC], ["updated_at", 2016-11-18 08:37:18 UTC]]  (5.8ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (18.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (12.7ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.1ms) SAVEPOINT active_record_1 SQL (148.1ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 09:44:36 UTC], ["updated_at", 2016-11-18 09:44:36 UTC]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 09:49:20 UTC], ["updated_at", 2016-11-18 09:49:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 09:54:05 UTC], ["updated_at", 2016-11-18 09:54:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (7.1ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 10:03:14 UTC], ["updated_at", 2016-11-18 10:03:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]] Pwb::Content Load (0.8ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 ORDER BY sort_order [["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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.1ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:01:34 UTC], ["updated_at", 2016-11-18 11:01:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:03:27 UTC], ["updated_at", 2016-11-18 11:03:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:03:56 UTC], ["updated_at", 2016-11-18 11:03:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:06:04 UTC], ["updated_at", 2016-11-18 11:06:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:08:28 UTC], ["updated_at", 2016-11-18 11:08:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:09:33 UTC], ["updated_at", 2016-11-18 11:09:33 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (6.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:12:22 UTC], ["updated_at", 2016-11-18 11:12:22 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:24:19 UTC], ["updated_at", 2016-11-18 11:24:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:26:21 UTC], ["updated_at", 2016-11-18 11:26:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:26:21 UTC], ["updated_at", 2016-11-18 11:26:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:28:39 UTC], ["updated_at", 2016-11-18 11:28:39 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (17.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.1ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:30:07 UTC], ["updated_at", 2016-11-18 11:30:07 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:30:15 UTC], ["updated_at", 2016-11-18 11:30:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:38:03 UTC], ["updated_at", 2016-11-18 11:38:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (6.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:38:09 UTC], ["updated_at", 2016-11-18 11:38:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:47:19 UTC], ["updated_at", 2016-11-18 11:47:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.8ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 11:55:50 UTC], ["updated_at", 2016-11-18 11:55:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 11:55:50 UTC], ["updated_at", 2016-11-18 11:55:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 11:57:16 UTC], ["updated_at", 2016-11-18 11:57:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (33.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:00:11 UTC], ["updated_at", 2016-11-18 12:00:11 UTC]]  (1.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:01:21 UTC], ["updated_at", 2016-11-18 12:01:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:01:21 UTC], ["updated_at", 2016-11-18 12:01:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:01:21 UTC], ["updated_at", 2016-11-18 12:01:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (6.8ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 26], ["LIMIT", 1]] Pwb::Content::Translation Load (18.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 26]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 27], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:02:13 UTC], ["updated_at", 2016-11-18 12:02:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:02:13 UTC], ["updated_at", 2016-11-18 12:02:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:02:13 UTC], ["updated_at", 2016-11-18 12:02:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:02:13 UTC], ["updated_at", 2016-11-18 12:02:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.6ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 28], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 28]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 29], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 29]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 30]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.1ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:05:17 UTC], ["updated_at", 2016-11-18 12:05:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:05:17 UTC], ["updated_at", 2016-11-18 12:05:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (7.2ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:05:17 UTC], ["updated_at", 2016-11-18 12:05:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:05:17 UTC], ["updated_at", 2016-11-18 12:05:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 32], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 32]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 33], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 33]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 34]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 12:05:33 UTC], ["updated_at", 2016-11-18 12:05:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (22.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:05:33 UTC], ["updated_at", 2016-11-18 12:05:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:05:33 UTC], ["updated_at", 2016-11-18 12:05:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:05:33 UTC], ["updated_at", 2016-11-18 12:05:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:05:33 UTC], ["updated_at", 2016-11-18 12:05:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 37], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 37]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 38], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 38]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 39]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:23:40 UTC], ["updated_at", 2016-11-18 12:23:40 UTC]] SQL (2.9ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (6.8ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:26:53 UTC], ["updated_at", 2016-11-18 12:26:53 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (13.1ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:28:46 UTC], ["updated_at", 2016-11-18 12:28:46 UTC]] SQL (0.9ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 45], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 45]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 46], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 46]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 47]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.2ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]] SQL (11.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 51], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 51]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 52], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 52]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 53]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (25.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (16.8ms) BEGIN  (10.5ms) SAVEPOINT active_record_1 SQL (33.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC]] SQL (0.9ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 58], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 58]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 59], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 59]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 60]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 16:00:12 UTC], ["updated_at", 2016-11-18 16:00:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.7ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 16:00:12 UTC], ["updated_at", 2016-11-18 16:00:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (10.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.3ms) BEGIN  (16.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (27.8ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:16:39 UTC], ["updated_at", 2016-11-18 19:16:39 UTC]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:16:39 UTC], ["updated_at", 2016-11-18 19:16:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:16:39 UTC], ["updated_at", 2016-11-18 19:16:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:16:39 UTC], ["updated_at", 2016-11-18 19:16:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (6.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 63], ["LIMIT", 1]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 63]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 64], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 64]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 65]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:16:39 UTC], ["updated_at", 2016-11-18 19:16:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (6.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:19:20 UTC], ["updated_at", 2016-11-18 19:19:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:20 UTC], ["updated_at", 2016-11-18 19:19:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:20 UTC], ["updated_at", 2016-11-18 19:19:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:20 UTC], ["updated_at", 2016-11-18 19:19:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:20 UTC], ["updated_at", 2016-11-18 19:19:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 69], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 69]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 70], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 70]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 71]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 74], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 74]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 75], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 75]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 76]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]] SQL (6.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:19:58 UTC], ["updated_at", 2016-11-18 19:19:58 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:58 UTC], ["updated_at", 2016-11-18 19:19:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:58 UTC], ["updated_at", 2016-11-18 19:19:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:58 UTC], ["updated_at", 2016-11-18 19:19:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:19:58 UTC], ["updated_at", 2016-11-18 19:19:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.6ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 80], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 80]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 81], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 81]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 82]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:20:31 UTC], ["updated_at", 2016-11-18 19:20:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:20:31 UTC], ["updated_at", 2016-11-18 19:20:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:20:31 UTC], ["updated_at", 2016-11-18 19:20:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.9ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:20:31 UTC], ["updated_at", 2016-11-18 19:20:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:20:31 UTC], ["updated_at", 2016-11-18 19:20:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 85], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 85]] Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 86], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 86]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 87]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:21:28 UTC], ["updated_at", 2016-11-18 19:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:21:28 UTC], ["updated_at", 2016-11-18 19:21:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:21:28 UTC], ["updated_at", 2016-11-18 19:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:21:28 UTC], ["updated_at", 2016-11-18 19:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 89], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 89]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 90], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 90]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 91]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:21:29 UTC], ["updated_at", 2016-11-18 19:21:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 94], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 94]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 95], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 95]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 96]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.8ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]] SQL (5.8ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.6ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 100], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 100]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 101], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 101]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 102]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:22:57 UTC], ["updated_at", 2016-11-18 19:22:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:57 UTC], ["updated_at", 2016-11-18 19:22:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:57 UTC], ["updated_at", 2016-11-18 19:22:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:57 UTC], ["updated_at", 2016-11-18 19:22:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:22:57 UTC], ["updated_at", 2016-11-18 19:22:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 107], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 107]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 108], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 108]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 109]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:26:57 UTC], ["updated_at", 2016-11-18 19:26:57 UTC]] SQL (17.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:26:57 UTC], ["updated_at", 2016-11-18 19:26:57 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:26:57 UTC], ["updated_at", 2016-11-18 19:26:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:26:58 UTC], ["updated_at", 2016-11-18 19:26:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:26:58 UTC], ["updated_at", 2016-11-18 19:26:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:26:58 UTC], ["updated_at", 2016-11-18 19:26:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:26:58 UTC], ["updated_at", 2016-11-18 19:26:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 113], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 113]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 114], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 114]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 115]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 118], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 118]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 119], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 119]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 120]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 125], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 125]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 126], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 126]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 127]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:31:18 UTC], ["updated_at", 2016-11-18 19:31:18 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:31:19 UTC], ["updated_at", 2016-11-18 19:31:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:31:19 UTC], ["updated_at", 2016-11-18 19:31:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:31:19 UTC], ["updated_at", 2016-11-18 19:31:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:31:19 UTC], ["updated_at", 2016-11-18 19:31:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 130], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 130]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 131], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 131]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 132]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]] SQL (7.2ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.1ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 135], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 135]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 136], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 136]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 137]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:33:04 UTC], ["updated_at", 2016-11-18 19:33:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:04 UTC], ["updated_at", 2016-11-18 19:33:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:04 UTC], ["updated_at", 2016-11-18 19:33:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:04 UTC], ["updated_at", 2016-11-18 19:33:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:04 UTC], ["updated_at", 2016-11-18 19:33:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 141], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 141]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 142], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 142]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 143]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:33:18 UTC], ["updated_at", 2016-11-18 19:33:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:18 UTC], ["updated_at", 2016-11-18 19:33:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:18 UTC], ["updated_at", 2016-11-18 19:33:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:18 UTC], ["updated_at", 2016-11-18 19:33:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:18 UTC], ["updated_at", 2016-11-18 19:33:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.8ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 146], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 146]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 147], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 147]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 148]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:33:34 UTC], ["updated_at", 2016-11-18 19:33:34 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:33:34 UTC], ["updated_at", 2016-11-18 19:33:34 UTC]] SQL (13.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:35 UTC], ["updated_at", 2016-11-18 19:33:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:35 UTC], ["updated_at", 2016-11-18 19:33:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:35 UTC], ["updated_at", 2016-11-18 19:33:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:35 UTC], ["updated_at", 2016-11-18 19:33:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:33:35 UTC], ["updated_at", 2016-11-18 19:33:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 152], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 152]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 153], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 153]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 154]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]] SQL (7.2ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.8ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 157], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 157]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 158], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 158]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 159]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 19:34:08 UTC], ["updated_at", 2016-11-18 19:34:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (6.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (12.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 163], ["LIMIT", 1]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 163]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 164], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 164]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 165]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (18.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.6ms) BEGIN  (5.6ms) SAVEPOINT active_record_1 SQL (31.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]] SQL (1.9ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 170], ["LIMIT", 1]] Pwb::Content::Translation Load (0.7ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 170]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 171], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 171]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 172]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (12.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (145.4ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (343.6ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (20.2ms) CREATE 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)  (3.2ms) CREATE 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)  (2.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (5.2ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161116185442')  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-18 22:26:18 UTC], ["updated_at", 2016-11-18 22:26:18 UTC]]  (6.2ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (18.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (173.4ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (369.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (11.9ms) CREATE 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)  (4.0ms) CREATE 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)  (1.6ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.6ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (5.0ms) CREATE 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)  (2.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161116185442')  (4.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.3ms) BEGIN SQL (17.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-19 11:37:17 UTC], ["updated_at", 2016-11-19 11:37:17 UTC]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (123.2ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (367.0ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (24.9ms) CREATE 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)  (12.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.2ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (22.8ms) CREATE 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)  (4.2ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (5.9ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161118222543')  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-19 11:38:33 UTC], ["updated_at", 2016-11-19 11:38:33 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (25.9ms) CREATE 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)  (0.1ms) ROLLBACK  (0.3ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (130.6ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (336.5ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (4.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (4.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.3ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (21.3ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (5.8ms) COMMIT Migrating to TranslateContents (20161108132035)  (10.8ms) BEGIN  (3.6ms) CREATE 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)  (2.5ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (23.0ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (0.9ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (1.8ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (5.8ms) BEGIN  (18.4ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (0.5ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (5.7ms) BEGIN  (20.3ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-19 11:39:45 UTC], ["updated_at", 2016-11-19 11:39:45 UTC]]  (0.3ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (19.2ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]] SQL (1.9ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 2], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 2]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 3], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 3]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 4]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (19.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (6.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 7], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 7]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 8], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 8]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 9]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (6.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.9ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 15], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 15]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 16], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 16]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 17]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 23], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 23]] Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 24], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 24]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 25]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 27], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 27]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 28], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 28]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 29]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (6.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 31], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 31]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 32], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 32]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 33]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 35], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 35]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 36], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 36]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 37]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 39], ["LIMIT", 1]] Pwb::Content::Translation Load (0.7ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 39]] Pwb::ContentPhoto Load (0.6ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 40], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 40]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 41]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 43], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 43]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 44], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 44]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 45]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 47], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 47]] Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 48], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 48]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 49]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 51], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 51]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 52], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 52]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 53]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (44.0ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.7ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (32.2ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 55], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 55]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 56], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 56]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 57]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 59], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 59]] Pwb::ContentPhoto Load (0.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 60], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 60]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 61]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.7ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 63], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 63]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 64], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 64]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 65]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 67], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 67]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 68], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 68]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 69]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (2.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 71], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 71]] Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 72], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 72]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 73]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 75], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 75]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 76], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 76]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 77]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 80], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 80]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 81], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 81]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 82]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 85], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 85]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 86], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 86]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 87]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Pwb::Content Load (0.9ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (6.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]] SQL (6.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (6.1ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "landingPageHero"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (7.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "landingPageHero"], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (1.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "landingPageHero"], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.8ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.5ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (6.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "landingPageHero"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "landingPageHero"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (6.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.6ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (1.0ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (1.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "landingPageHero"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.2ms) ROLLBACK Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "content-area-cols"]]  (0.1ms) BEGIN  (1.1ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (2.9ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (3.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (5.0ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "landingPageHero"], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "content-area-cols"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "content-area-cols"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "landingPageHero"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (6.2ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "content-area-cols"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.8ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "landingPageHero"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (6.1ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "aboutUs"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "aboutUs"], ["tag", "about-us"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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."]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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."]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "content-area-cols"]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "aboutUs"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "aboutUs"], ["tag", "about-us"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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."]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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."]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "landingPageHero"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac2"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "cac3"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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.

"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "landingPageHero"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]] SQL (0.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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. "]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 [["key", "aboutUs"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "aboutUs"], ["tag", "about-us"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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."]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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."]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (18.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (156.4ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (369.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (2.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (55.1ms) CREATE 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)  (6.2ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.2ms) CREATE 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)  (4.3ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.3ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (7.0ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.5ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (14.1ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.1ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (2.4ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.2ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.6ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.3ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120122914')  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 18:40:06 UTC], ["updated_at", 2016-11-20 18:40:06 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (123.5ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (343.4ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (33.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (19.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.3ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (25.9ms) CREATE 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)  (2.3ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (12.2ms) COMMIT Migrating to TranslateContents (20161108132035)  (6.2ms) BEGIN  (15.3ms) CREATE 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)  (6.4ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (0.8ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (6.9ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (6.3ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (0.5ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (11.4ms) BEGIN  (14.4ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (0.5ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (11.9ms) BEGIN  (17.9ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.5ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (6.0ms) BEGIN  (19.1ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (0.9ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (1.0ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (0.9ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (6.6ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (6.4ms) COMMIT Migrating to TranslateProps (20161120122914)  (11.6ms) BEGIN  (13.5ms) CREATE 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)  (7.4ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (3.6ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (1.6ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (7.2ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (2.4ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (1.6ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (1.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 18:40:30 UTC], ["updated_at", 2016-11-20 18:40:30 UTC]]  (0.5ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (11.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]] SQL (19.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (6.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 4], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 4]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 5], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 5]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 6]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 7]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.3ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 9], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 9]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 10], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 10]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 11]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:40:46 UTC], ["updated_at", 2016-11-20 18:40:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-20 18:54:52 UTC], ["updated_at", 2016-11-20 18:54:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.8ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:54:52 UTC], ["updated_at", 2016-11-20 18:54:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:54:52 UTC], ["updated_at", 2016-11-20 18:54:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:54:52 UTC], ["updated_at", 2016-11-20 18:54:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:54:52 UTC], ["updated_at", 2016-11-20 18:54:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 14], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 14]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 15], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 15]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 16]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 17]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.6ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 19], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 19]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 20], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 20]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 21]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (29.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:35 UTC], ["updated_at", 2016-11-20 19:04:35 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:35 UTC], ["updated_at", 2016-11-20 19:04:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (6.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-20 19:04:35 UTC], ["updated_at", 2016-11-20 19:04:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (4.7ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 28], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 28]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 29], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 29]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 30]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 31]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.5ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 33], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 33]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 34], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 34]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 35]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (25.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.5ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (36.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (11.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (41.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-20 21:05:42 UTC], ["updated_at", 2016-11-20 21:05:42 UTC]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 39], ["LIMIT", 1]] Pwb::Content::Translation Load (0.8ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 39]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 40], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 40]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 41]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 42]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.9ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 44], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 44]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 45], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 45]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 46]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (6.9ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-20 22:18:33 UTC], ["updated_at", 2016-11-20 22:18:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-20 22:18:44 UTC], ["updated_at", 2016-11-20 22:18:44 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-20 22:19:50 UTC], ["updated_at", 2016-11-20 22:19:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-20 22:21:32 UTC], ["updated_at", 2016-11-20 22:21:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-20 22:34:02 UTC], ["updated_at", 2016-11-20 22:34:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (19.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (11.6ms) BEGIN  (12.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (27.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:14:52 UTC], ["updated_at", 2016-11-21 08:14:52 UTC]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:22:10 UTC], ["updated_at", 2016-11-21 08:22:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:24:30 UTC], ["updated_at", 2016-11-21 08:24:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:30:07 UTC], ["updated_at", 2016-11-21 08:30:07 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:31:34 UTC], ["updated_at", 2016-11-21 08:31:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:37:06 UTC], ["updated_at", 2016-11-21 08:37:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:37:18 UTC], ["updated_at", 2016-11-21 08:37:18 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (145.1ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (393.7ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (59.0ms) CREATE 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)  (6.1ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.2ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.9ms) CREATE 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)  (5.3ms) CREATE 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)  (3.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.4ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (14.0ms) CREATE 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)  (4.4ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (7.4ms) CREATE 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 '')  (2.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.6ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (14.3ms) CREATE 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)  (1.7ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.3ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (2.8ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (2.4ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (2.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (2.6ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.6ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.3ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120122914')  (25.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (2.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (5.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-22 16:26:33 UTC], ["updated_at", 2016-11-22 16:26:33 UTC]]  (11.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (124.7ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (350.5ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (5.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.3ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (20.6ms) CREATE 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)  (6.8ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (5.9ms) COMMIT Migrating to TranslateContents (20161108132035)  (11.8ms) BEGIN  (3.8ms) CREATE 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)  (1.9ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (0.7ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (6.5ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (5.8ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (0.4ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (11.1ms) BEGIN  (16.8ms) CREATE 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) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (0.6ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (11.2ms) BEGIN  (12.7ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (1.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.6ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (8.9ms) BEGIN  (8.1ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (1.3ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (2.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (0.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (0.9ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (0.9ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (0.9ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (1.0ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (7.1ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (12.2ms) COMMIT Migrating to TranslateProps (20161120122914)  (6.2ms) BEGIN  (27.0ms) CREATE 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)  (4.4ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (4.4ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (2.0ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (0.8ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (1.6ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-22 16:27:03 UTC], ["updated_at", 2016-11-22 16:27:03 UTC]]  (0.4ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (18.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (25.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:27:18 UTC], ["updated_at", 2016-11-22 16:27:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 16:27:18 UTC], ["updated_at", 2016-11-22 16:27:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:27:18 UTC], ["updated_at", 2016-11-22 16:27:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"1", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:31:34 UTC], ["updated_at", 2016-11-22 16:31:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (1.3ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:31:34 UTC], ["updated_at", 2016-11-22 16:31:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 16:31:34 UTC], ["updated_at", 2016-11-22 16:31:34 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:31:34 UTC], ["updated_at", 2016-11-22 16:31:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (5.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:42:01 UTC], ["updated_at", 2016-11-22 16:42:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (10.8ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 16:42:01 UTC], ["updated_at", 2016-11-22 16:42:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:42:01 UTC], ["updated_at", 2016-11-22 16:42:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (25.1ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:42:09 UTC], ["updated_at", 2016-11-22 16:42:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" DESC LIMIT $1 [["LIMIT", 1]] Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"1", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:43:09 UTC], ["updated_at", 2016-11-22 16:43:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (7.7ms) INSERT INTO "pwb_props" ("for_sale", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["for_sale", true], ["created_at", 2016-11-22 16:52:42 UTC], ["updated_at", 2016-11-22 16:52:42 UTC]] SQL (6.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"2", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:52:50 UTC], ["updated_at", 2016-11-22 16:52:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 16:52:50 UTC], ["updated_at", 2016-11-22 16:52:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:52:50 UTC], ["updated_at", 2016-11-22 16:52:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:52:50 UTC], ["updated_at", 2016-11-22 16:52:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 16:53:36 UTC], ["updated_at", 2016-11-22 16:53:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:53:36 UTC], ["updated_at", 2016-11-22 16:53:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:53:36 UTC], ["updated_at", 2016-11-22 16:53:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.0ms) INSERT INTO "pwb_props" ("visible", "for_sale", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["visible", true], ["for_sale", true], ["created_at", 2016-11-22 16:53:45 UTC], ["updated_at", 2016-11-22 16:53:45 UTC]] SQL (6.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"3", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 16:53:56 UTC], ["updated_at", 2016-11-22 16:53:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (1.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (8.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (11.6ms) INSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (1.1ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"4", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:02:28 UTC], ["updated_at", 2016-11-22 17:02:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:02:29 UTC], ["updated_at", 2016-11-22 17:02:29 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:02:29 UTC], ["updated_at", 2016-11-22 17:02:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:02:29 UTC], ["updated_at", 2016-11-22 17:02:29 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"5", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:03:28 UTC], ["updated_at", 2016-11-22 17:03:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:03:28 UTC], ["updated_at", 2016-11-22 17:03:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:03:28 UTC], ["updated_at", 2016-11-22 17:03:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:03:28 UTC], ["updated_at", 2016-11-22 17:03:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.2ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:04:17 UTC], ["updated_at", 2016-11-22 17:04:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:04:17 UTC], ["updated_at", 2016-11-22 17:04:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:04:17 UTC], ["updated_at", 2016-11-22 17:04:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (6.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"6", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:04:17 UTC], ["updated_at", 2016-11-22 17:04:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (12.5ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"7", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"8", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"9", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"10", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (3.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (1.2ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"11", "url_friendly_title"=>"tt"} Pwb::Agency Load (1.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:11:29 UTC], ["updated_at", 2016-11-22 17:11:29 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"12", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:11:30 UTC], ["updated_at", 2016-11-22 17:11:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:11:30 UTC], ["updated_at", 2016-11-22 17:11:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (3.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:11:30 UTC], ["updated_at", 2016-11-22 17:11:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:11:30 UTC], ["updated_at", 2016-11-22 17:11:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (5.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (2.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.8ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"13", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"14", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.6ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"15", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"16", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"17", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"18", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (12.4ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]] SQL (1.2ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 19], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"20", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"21", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"22", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.7ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]] SQL (5.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (2.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 17], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 17]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 18], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 18]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 19]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 20]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.9ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 22], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 22]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 23], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 23]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 24]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (2.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"23", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"24", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"25", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.2ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 26], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 29], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 29]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 30], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 30]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 31]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 32]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.4ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 34], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 34]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 35], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 35]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 36]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 39], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 39]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 40], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 40]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 41]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 42]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.5ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 44], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 44]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 45], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 45]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 46]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (359.7ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (392.3ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (51.4ms) CREATE 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)  (2.0ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (2.9ms) CREATE 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)  (4.1ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (5.1ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (5.1ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (4.4ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.5ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.3ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (18.6ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.2ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (2.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (2.1ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (2.6ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.6ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (2.3ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.0ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (6.8ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (6.2ms) CREATE 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)  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124103103')  (5.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (6.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-24 12:23:55 UTC], ["updated_at", 2016-11-24 12:23:55 UTC]]  (11.8ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (124.8ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (342.5ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (33.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (8.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.3ms) BEGIN  (14.7ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (6.3ms) COMMIT Migrating to TranslateContents (20161108132035)  (6.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (11.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (18.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-24 12:29:11 UTC], ["updated_at", 2016-11-24 12:29:11 UTC]]  (1.2ms) COMMIT ActiveRecord::SchemaMigration Load (6.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (122.9ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (360.9ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (7.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (3.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.4ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-24 12:29:25 UTC], ["updated_at", 2016-11-24 12:29:25 UTC]]  (6.1ms) COMMIT  (0.5ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (119.8ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (334.9ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (10.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (28.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-24 12:29:43 UTC], ["updated_at", 2016-11-24 12:29:43 UTC]]  (6.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (125.3ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (419.6ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (16.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (1.0ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')  (107.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.3ms) BEGIN SQL (1.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-24 12:32:18 UTC], ["updated_at", 2016-11-24 12:32:18 UTC]]  (5.7ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (28.9ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (11.9ms) COMMIT Migrating to TranslateContents (20161108132035)  (6.2ms) BEGIN  (4.2ms) CREATE 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)  (2.6ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (0.9ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (12.1ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (5.8ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (0.5ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (6.0ms) BEGIN  (22.9ms) CREATE 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)  (54.4ms) CREATE INDEX "index_pwb_content_photos_on_prop_id" ON "pwb_content_photos" ("prop_id")  (0.2ms) ROLLBACK  (0.4ms) SELECT pg_advisory_unlock(4396650945632054235)  (0.2ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContentPhotos (20161116185442)  (0.2ms) BEGIN  (40.6ms) CREATE 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)  (6.6ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (16.8ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (6.1ms) BEGIN  (17.4ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (1.9ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (6.0ms) BEGIN  (20.7ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (1.8ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (6.6ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (6.5ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (32.3ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (12.7ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (6.8ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (0.7ms) COMMIT Migrating to TranslateProps (20161120122914)  (11.9ms) BEGIN  (9.2ms) CREATE 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)  (9.0ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (3.0ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (3.8ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (5.8ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (2.0ms) COMMIT Migrating to CreatePwbSections (20161122174847)  (17.2ms) BEGIN  (12.1ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161122174847"]]  (11.9ms) COMMIT Migrating to CreatePwbTranslations (20161123124639)  (6.5ms) BEGIN  (25.4ms) CREATE 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) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123124639"]]  (0.4ms) COMMIT Migrating to CreatePwbFieldKeys (20161123232423)  (5.9ms) BEGIN  (23.5ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123232423"]]  (0.4ms) COMMIT Migrating to CreatePwbPropPhotos (20161124103103)  (6.1ms) BEGIN  (19.9ms) CREATE 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)  (0.8ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124103103"]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_field_keys' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_sections' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (38.4ms) INSERT 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" [["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]] SQL (6.2ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"1", "url_friendly_title"=>"tt"} Pwb::Agency Load (1.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"2", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (4.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"3", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]] SQL (2.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (8.1ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 4], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 4]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 5], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 5]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 6]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 7]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.2ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 9], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 9]] Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 10], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 10]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 11]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (26.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (165.8ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (428.8ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (18.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (16.1ms) CREATE 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)  (31.4ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (5.3ms) CREATE 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)  (3.5ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (6.7ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (27.1ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.3ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.6ms) CREATE 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 '')  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (9.8ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.1ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.0ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.8ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (7.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (17.7ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.5ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.7ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.7ms) CREATE 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)  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (3.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.3ms) BEGIN SQL (26.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 08:52:52 UTC], ["updated_at", 2016-11-28 08:52:52 UTC]]  (0.8ms) COMMIT ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (129.2ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (246.8ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (7.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (21.2ms) CREATE 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)  (13.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (5.8ms) COMMIT Migrating to TranslateContents (20161108132035)  (5.9ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (0.2ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to TranslateContents (20161108132035)  (0.2ms) BEGIN  (4.0ms) CREATE 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)  (2.9ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (8.1ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (7.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (1.5ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (0.7ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (6.1ms) BEGIN  (15.0ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (1.5ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (5.9ms) BEGIN  (34.7ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (0.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.6ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (11.2ms) BEGIN  (19.1ms) CREATE 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)  (1.6ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (1.5ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (1.6ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (1.4ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (2.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (2.4ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (1.6ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (1.9ms) COMMIT Migrating to TranslateProps (20161120122914)  (6.3ms) BEGIN  (3.5ms) CREATE 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)  (29.7ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (5.7ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (1.3ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (0.9ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (0.8ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (4.2ms) COMMIT Migrating to CreatePwbSections (20161122174847)  (6.1ms) BEGIN  (19.5ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161122174847"]]  (0.5ms) COMMIT Migrating to CreatePwbTranslations (20161123124639)  (6.0ms) BEGIN  (21.7ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123124639"]]  (0.7ms) COMMIT Migrating to CreatePwbFieldKeys (20161123232423)  (10.6ms) BEGIN  (14.7ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123232423"]]  (0.4ms) COMMIT Migrating to CreatePwbPropPhotos (20161124103103)  (21.7ms) BEGIN  (4.3ms) CREATE 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)  (0.8ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124103103"]]  (0.6ms) COMMIT Migrating to CreatePwbAddresses (20161124214746)  (15.6ms) BEGIN  (14.4ms) CREATE 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) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124214746"]]  (5.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 08:55:08 UTC], ["updated_at", 2016-11-28 08:55:08 UTC]]  (11.5ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_field_keys' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_sections' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (126.8ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (381.8ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (26.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (20.2ms) CREATE 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)  (6.7ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (6.3ms) COMMIT Migrating to TranslateContents (20161108132035)  (3.7ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (15.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (0.3ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to TranslateContents (20161108132035)  (0.2ms) BEGIN  (5.4ms) CREATE 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)  (0.3ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (8.1ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (6.8ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (1.5ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (0.6ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (6.1ms) BEGIN  (16.5ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (0.5ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (6.0ms) BEGIN  (21.1ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (0.9ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.6ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (6.0ms) BEGIN  (12.0ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (1.0ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (0.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (1.1ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (1.7ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (0.9ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (1.4ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (0.6ms) COMMIT Migrating to TranslateProps (20161120122914)  (6.1ms) BEGIN  (4.9ms) CREATE 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)  (6.5ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (3.2ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (1.5ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (0.9ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (0.8ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (1.4ms) COMMIT Migrating to CreatePwbSections (20161122174847)  (6.1ms) BEGIN  (18.4ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161122174847"]]  (0.8ms) COMMIT Migrating to CreatePwbTranslations (20161123124639)  (14.9ms) BEGIN  (10.5ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123124639"]]  (0.4ms) COMMIT Migrating to CreatePwbFieldKeys (20161123232423)  (5.6ms) BEGIN  (19.2ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123232423"]]  (0.5ms) COMMIT Migrating to CreatePwbPropPhotos (20161124103103)  (6.2ms) BEGIN  (17.4ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124103103"]]  (0.5ms) COMMIT Migrating to CreatePwbAddresses (20161124214746)  (11.2ms) BEGIN  (13.1ms) CREATE 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) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124214746"]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 08:59:18 UTC], ["updated_at", 2016-11-28 08:59:18 UTC]]  (5.7ms) COMMIT  (0.5ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_field_keys' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_sections' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (129.3ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (36.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (19.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (4.2ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (27.3ms) CREATE 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)  (7.7ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (11.3ms) COMMIT Migrating to TranslateContents (20161108132035)  (6.2ms) BEGIN  (2.7ms) CREATE 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)  (0.3ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (2.2ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (6.6ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (11.4ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (0.7ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (6.0ms) BEGIN  (20.6ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (0.5ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (5.5ms) BEGIN  (28.0ms) CREATE 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)  (6.6ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (0.9ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.6ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (6.1ms) BEGIN  (15.8ms) CREATE 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)  (6.7ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (6.9ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (17.6ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (11.4ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (1.4ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (0.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (0.9ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (0.5ms) COMMIT Migrating to TranslateProps (20161120122914)  (6.0ms) BEGIN  (3.1ms) CREATE 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)  (4.4ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (4.7ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (2.0ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (0.9ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (1.2ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (6.7ms) COMMIT Migrating to CreatePwbSections (20161122174847)  (5.6ms) BEGIN  (23.3ms) CREATE 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)  (9.1ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161122174847"]]  (0.5ms) COMMIT Migrating to CreatePwbTranslations (20161123124639)  (11.1ms) BEGIN  (15.1ms) CREATE 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) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123124639"]]  (0.7ms) COMMIT Migrating to CreatePwbFieldKeys (20161123232423)  (5.9ms) BEGIN  (16.5ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123232423"]]  (0.8ms) COMMIT Migrating to CreatePwbPropPhotos (20161124103103)  (6.0ms) BEGIN  (15.0ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124103103"]]  (0.5ms) COMMIT Migrating to CreatePwbAddresses (20161124214746)  (6.1ms) BEGIN  (16.5ms) CREATE 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) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124214746"]]  (11.9ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 08:59:50 UTC], ["updated_at", 2016-11-28 08:59:50 UTC]]  (0.4ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_field_keys' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_sections' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (13.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (23.2ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (7.8ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 2], ["LIMIT", 1]] Pwb::Content::Translation Load (23.8ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 2]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 3], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 3]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 4]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 5]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 7], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 7]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 8], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 8]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 9]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 12], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 12]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 13], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 13]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 14]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 15]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.4ms) Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 17], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 17]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 18], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 18]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 19]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.3ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (9.1ms) ROLLBACK  (3.0ms) BEGIN  (1.8ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]  (2.7ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]  (7.6ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (2.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (7.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.3ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:07:15 UTC], ["updated_at", 2016-11-28 09:07:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (19.2ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:15:31 UTC], ["updated_at", 2016-11-28 09:15:31 UTC]] SQL (19.8ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:31 UTC], ["updated_at", 2016-11-28 09:15:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (27.0ms) INSERT 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" [["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]] SQL (1.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"1", "url_friendly_title"=>"tt"} Pwb::Agency Load (1.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (2.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.9ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"2", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"3", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 63], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 63]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 64], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 64]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 65]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 66]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.7ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 68], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 68]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 69], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 69]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 70]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (6.1ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"5", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"6", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"7", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 95], ["LIMIT", 1]] Pwb::Content::Translation Load (0.7ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 95]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 96], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 96]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 97]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 98]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.7ms) Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 100], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 100]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 101], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 101]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 102]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.8ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 106], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 106]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 107], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 107]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 108]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 109]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.6ms) Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 111], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 111]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 112], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 112]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 113]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"10", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"11", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"12", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 128], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 128]] Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 129], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 129]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 130]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 131]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.6ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 133], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 133]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 134], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 134]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 135]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"13", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"14", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"15", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 16], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"17", "url_friendly_title"=>"tt"} Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"18", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"19", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 20], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 161], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 161]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 162], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 162]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 163]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 164]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.0ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 166], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 166]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 167], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 167]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 168]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 182], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 182]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 183], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 183]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 184]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 185]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.9ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 187], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 187]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 188], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 188]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 189]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"22", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"23", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"24", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"25", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"26", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"27", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 205], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 205]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 206], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 206]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 207]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 208]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 210], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 210]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 211], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 211]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 212]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:18:10 UTC], ["updated_at", 2016-11-28 09:18:10 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"29", "url_friendly_title"=>"tt"} Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"30", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"31", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 238], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 238]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 239], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 239]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 240]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 241]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.5ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 243], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 243]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 244], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 244]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 245]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:18:16 UTC], ["updated_at", 2016-11-28 09:18:16 UTC]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 32], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.9ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (6.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (19.6ms) INSERT 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" [["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]] SQL (0.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"33", "url_friendly_title"=>"tt"} Pwb::Agency Load (1.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (3.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"34", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"35", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (3.0ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 36], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 278], ["LIMIT", 1]] Pwb::Content::Translation Load (0.7ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 278]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 279], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 279]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 280]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 281]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.7ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 283], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 283]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 284], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 284]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 285]] Pwb::Content::Translation Load (0.1ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations" 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb  (1.4ms) SELECT DISTINCT "translations"."locale" FROM "translations" 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:39 UTC], ["updated_at", 2016-11-28 09:30:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:30:39 UTC], ["updated_at", 2016-11-28 09:30:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:39 UTC], ["updated_at", 2016-11-28 09:30:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:39 UTC], ["updated_at", 2016-11-28 09:30:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:39 UTC], ["updated_at", 2016-11-28 09:30:39 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.7ms) BEGIN 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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]] SQL (6.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 37], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]] SQL (1.9ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"38", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"39", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"40", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 40], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 292], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 292]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 293], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 293]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 294]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 295]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (8.1ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 297], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 297]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 298], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 298]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 299]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:32:51 UTC], ["updated_at", 2016-11-28 09:32:51 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:32:51 UTC], ["updated_at", 2016-11-28 09:32:51 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:32:51 UTC], ["updated_at", 2016-11-28 09:32:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:32:51 UTC], ["updated_at", 2016-11-28 09:32:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:32:51 UTC], ["updated_at", 2016-11-28 09:32:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations" 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:35:05 UTC], ["updated_at", 2016-11-28 09:35:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (13.2ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]] SQL (1.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]] SQL (0.9ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 308], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 308]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 309], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 309]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 310]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 311]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.8ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 313], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 313]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 314], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 314]] Pwb::Content::Translation Load (1.1ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 315]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"42", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.0ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"43", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (1.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (7.0ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"44", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.3ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 09:41:34 UTC], ["updated_at", 2016-11-28 09:41:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb  (0.9ms) SELECT DISTINCT "translations"."locale" FROM "translations" 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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (5.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (17.5ms) BEGIN  (0.8ms) SAVEPOINT active_record_1  (3.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (24.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:17:14 UTC], ["updated_at", 2016-11-28 10:17:14 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations" 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:18:55 UTC], ["updated_at", 2016-11-28 10:18:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations" 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)  (2.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.1ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:21:28 UTC], ["updated_at", 2016-11-28 10:21:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations" 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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:21:46 UTC], ["updated_at", 2016-11-28 10:21:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations" 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)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:21:55 UTC], ["updated_at", 2016-11-28 10:21:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations" 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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (16.5ms) BEGIN  (17.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (2.0ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (29.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:46:45 UTC], ["updated_at", 2016-11-28 10:46:45 UTC]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:46:56 UTC], ["updated_at", 2016-11-28 10:46:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:53:50 UTC], ["updated_at", 2016-11-28 10:53:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.3ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:38 UTC], ["updated_at", 2016-11-28 10:55:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (5.9ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 10:55:38 UTC], ["updated_at", 2016-11-28 10:55:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:38 UTC], ["updated_at", 2016-11-28 10:55:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (18.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:55:42 UTC], ["updated_at", 2016-11-28 10:55:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (13.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (22.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.2ms) INSERT 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" [["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]] SQL (1.0ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"45", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"46", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"47", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 48], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]  (19.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 321], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 321]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 322], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 322]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 323]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 324]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.8ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 326], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 326]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 327], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 327]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 328]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 49], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.2ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:57:03 UTC], ["updated_at", 2016-11-28 10:57:03 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.9ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"50", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"51", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"52", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 52], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.8ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 333], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 333]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 334], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 334]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 335]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 336]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.1ms) Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 338], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 338]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 339], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 339]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 340]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:05 UTC], ["updated_at", 2016-11-28 10:57:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 10:57:12 UTC], ["updated_at", 2016-11-28 10:57:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:12 UTC], ["updated_at", 2016-11-28 10:57:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:12 UTC], ["updated_at", 2016-11-28 10:57:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:12 UTC], ["updated_at", 2016-11-28 10:57:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:12 UTC], ["updated_at", 2016-11-28 10:57:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 343], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 343]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 344], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 344]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 345]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 346]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.7ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 348], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 348]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 349], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 349]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 350]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]] SQL (6.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 53], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"54", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 54], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"55", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 55], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"56", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:57:17 UTC], ["updated_at", 2016-11-28 10:57:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.9ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 10:57:17 UTC], ["updated_at", 2016-11-28 10:57:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 10:57:17 UTC], ["updated_at", 2016-11-28 10:57:17 UTC]] SQL (6.1ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:58:13 UTC], ["updated_at", 2016-11-28 10:58:13 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.9ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 10:58:58 UTC], ["updated_at", 2016-11-28 10:58:58 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]] SQL (7.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (7.0ms) INSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]] SQL (0.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 57], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 357], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 357]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 358], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 358]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 359]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 360]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.3ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 362], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 362]] Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 363], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 363]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 364]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"58", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"59", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 59], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.9ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"60", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 60], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:10:37 UTC], ["updated_at", 2016-11-28 11:10:37 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (3.0ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:11:22 UTC], ["updated_at", 2016-11-28 11:11:22 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.7ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:12:22 UTC], ["updated_at", 2016-11-28 11:12:22 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (14.6ms) INSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:12:22 UTC], ["updated_at", 2016-11-28 11:12:22 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:12:22 UTC], ["updated_at", 2016-11-28 11:12:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.8ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.1ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:12:53 UTC], ["updated_at", 2016-11-28 11:12:53 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:12:54 UTC], ["updated_at", 2016-11-28 11:12:54 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:12:54 UTC], ["updated_at", 2016-11-28 11:12:54 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:14:42 UTC], ["updated_at", 2016-11-28 11:14:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (6.7ms) INSERT INTO "pwb_sections" ("link_path", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:14:42 UTC], ["updated_at", 2016-11-28 11:14:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:14:42 UTC], ["updated_at", 2016-11-28 11:14:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:14:48 UTC], ["updated_at", 2016-11-28 11:14:48 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_path", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:14:48 UTC], ["updated_at", 2016-11-28 11:14:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 11:14:48 UTC], ["updated_at", 2016-11-28 11:14:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.9ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:15:00 UTC], ["updated_at", 2016-11-28 11:15:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_path", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:15:00 UTC], ["updated_at", 2016-11-28 11:15:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_path", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:15:00 UTC], ["updated_at", 2016-11-28 11:15:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:15:45 UTC], ["updated_at", 2016-11-28 11:15:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (13.1ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (1.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:16:06 UTC], ["updated_at", 2016-11-28 11:16:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations" Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (26.8ms)  (7.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:16:47 UTC], ["updated_at", 2016-11-28 11:16:47 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb  (1.5ms) SELECT DISTINCT "translations"."locale" FROM "translations" Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (54.2ms)  (0.8ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (56.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (11.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (10.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:32:26 UTC], ["updated_at", 2016-11-28 11:32:26 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations" Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (21.0ms)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-28 11:32:47 UTC], ["updated_at", 2016-11-28 11:32:47 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations" Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (19.3ms)  (1.2ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (1.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 12:00:55 UTC], ["updated_at", 2016-11-28 12:00:55 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 12:01:01 UTC], ["updated_at", 2016-11-28 12:01:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 12:01:07 UTC], ["updated_at", 2016-11-28 12:01:07 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (2.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 12:07:27 UTC], ["updated_at", 2016-11-28 12:07:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 12:07:44 UTC], ["updated_at", 2016-11-28 12:07:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (18.3ms) BEGIN  (13.8ms) SAVEPOINT active_record_1  (81.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (54.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 14:23:07 UTC], ["updated_at", 2016-11-28 14:23:07 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 14:24:06 UTC], ["updated_at", 2016-11-28 14:24:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1  (1.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 14:24:12 UTC], ["updated_at", 2016-11-28 14:24:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 14:24:26 UTC], ["updated_at", 2016-11-28 14:24:26 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 14:25:15 UTC], ["updated_at", 2016-11-28 14:25:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (5.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 14:26:37 UTC], ["updated_at", 2016-11-28 14:26:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 14:30:16 UTC], ["updated_at", 2016-11-28 14:30:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (12.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (22.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-28 14:40:54 UTC], ["updated_at", 2016-11-28 14:40:54 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (157.5ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (469.9ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (2.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (58.9ms) CREATE 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)  (21.5ms) CREATE 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)  (1.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (6.0ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (6.0ms) CREATE 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)  (2.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (9.3ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (6.9ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (4.9ms) CREATE 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)  (1.8ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (8.5ms) CREATE 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 '')  (1.6ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (20.3ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (2.9ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.8ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.4ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.7ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (7.0ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (6.9ms) CREATE 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)  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (31.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 15:07:23 UTC], ["updated_at", 2016-11-28 15:07:23 UTC]]  (6.1ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (24.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (171.4ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (433.9ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (26.4ms) CREATE 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)  (29.4ms) CREATE 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)  (3.3ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (2.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (12.3ms) CREATE 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)  (38.7ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (7.2ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (4.9ms) CREATE 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)  (18.3ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (26.8ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.1ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.4ms) CREATE 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 '')  (1.2ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (0.9ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (27.5ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.1ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.0ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (2.0ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.0ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.5ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.4ms) CREATE 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)  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (3.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.3ms) BEGIN SQL (0.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:18:02 UTC], ["updated_at", 2016-11-28 16:18:02 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (126.6ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (638.9ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (8.7ms) CREATE 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)  (51.8ms) CREATE 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)  (1.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.3ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.4ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.8ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (7.3ms) CREATE 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)  (6.7ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (62.2ms) CREATE 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)  (24.3ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (36.3ms) CREATE 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)  (40.8ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (43.9ms) CREATE 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 '')  (1.5ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.5ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (16.2ms) CREATE 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)  (1.8ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (12.8ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (12.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.6ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (2.0ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (3.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (2.5ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.5ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (3.4ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.5ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (4.7ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (6.7ms) CREATE 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)  (2.3ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (5.5ms) CREATE 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)  (7.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.7ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (185.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:18:22 UTC], ["updated_at", 2016-11-28 16:18:22 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (122.7ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (547.7ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.1ms) CREATE 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)  (26.7ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.9ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.4ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (4.9ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (6.3ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.2ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (3.2ms) CREATE 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 '')  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (0.8ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (9.7ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.1ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (18.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (3.5ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.2ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.1ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (4.1ms) CREATE 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)  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (2.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:18:32 UTC], ["updated_at", 2016-11-28 16:18:32 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (163.2ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (899.3ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.5ms) CREATE 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)  (26.5ms) CREATE 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)  (5.2ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (15.2ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (14.4ms) CREATE 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)  (2.4ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (8.6ms) CREATE 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)  (18.4ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (17.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (10.3ms) CREATE 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)  (12.7ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (28.7ms) CREATE 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)  (17.6ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (30.9ms) CREATE 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)  (4.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (7.4ms) CREATE 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 '')  (2.4ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (40.7ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (23.5ms) CREATE 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)  (1.7ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.6ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.9ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.9ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.5ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (2.3ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.0ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (2.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.9ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (39.5ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (4.6ms) CREATE 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)  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (32.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:19:20 UTC], ["updated_at", 2016-11-28 16:19:20 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (133.8ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (333.1ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (8.4ms) CREATE 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)  (22.5ms) CREATE 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)  (11.4ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (5.2ms) CREATE 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)  (18.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (27.2ms) CREATE 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)  (14.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.6ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.3ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.3ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.3ms) CREATE 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 '')  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (9.1ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.2ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.4ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (2.6ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.8ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (2.5ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (2.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.5ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (2.4ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.7ms) CREATE 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)  (2.3ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (6.2ms) CREATE 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)  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (10.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:19:31 UTC], ["updated_at", 2016-11-28 16:19:31 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (139.8ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (511.0ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (34.8ms) CREATE 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)  (29.9ms) CREATE 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)  (2.9ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.0ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.4ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (22.0ms) CREATE 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)  (27.8ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (29.2ms) CREATE 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)  (27.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (40.4ms) CREATE 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)  (19.1ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (15.7ms) CREATE 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 '')  (0.9ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.2ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (8.4ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.5ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.3ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.5ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.7ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (4.3ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.1ms) CREATE 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)  (18.0ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (7.8ms) CREATE 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)  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:21:15 UTC], ["updated_at", 2016-11-28 16:21:15 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (165.4ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (567.9ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (28.9ms) CREATE 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)  (26.1ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.1ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.3ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.4ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.1ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.4ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (4.0ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (3.5ms) CREATE 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 '')  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.2ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (18.0ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.7ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.3ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.2ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.0ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.1ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.4ms) CREATE 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)  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (2.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:22:14 UTC], ["updated_at", 2016-11-28 16:22:14 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (12.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (229.5ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (742.4ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (17.8ms) CREATE 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)  (24.0ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.6ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (35.5ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (40.3ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.5ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (5.6ms) CREATE 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)  (4.5ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (7.5ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (5.2ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.5ms) CREATE 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 '')  (1.3ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (13.4ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.4ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.6ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (18.0ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (19.2ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.2ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.9ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.0ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (23.9ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (6.6ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (22.3ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (10.0ms) CREATE 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)  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (6.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:37:14 UTC], ["updated_at", 2016-11-28 16:37:14 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (212.5ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (476.1ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (21.3ms) CREATE 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)  (31.7ms) CREATE 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)  (2.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (7.5ms) CREATE 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)  (23.6ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.3ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.4ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (4.9ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.7ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.3ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.8ms) CREATE 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 '')  (12.3ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (11.9ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (10.1ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.7ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.2ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.7ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.3ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (25.7ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.6ms) CREATE 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)  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20161124214746')  (3.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 19:47:17 UTC], ["updated_at", 2016-11-28 19:47:17 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (18.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (179.2ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (1052.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (9.0ms) CREATE 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)  (47.9ms) CREATE 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)  (4.6ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (3.4ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (8.7ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (0.9ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.3ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (7.4ms) CREATE 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)  (2.2ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (7.2ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (5.8ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.4ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (6.9ms) CREATE 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)  (8.0ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (8.2ms) CREATE 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 '')  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (11.3ms) CREATE 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)  (1.7ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (34.7ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (3.3ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (3.7ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.7ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.4ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.7ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (3.3ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.9ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.9ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (5.2ms) CREATE 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)  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161128221919')  (5.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 22:25:25 UTC], ["updated_at", 2016-11-28 22:25:25 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (127.9ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (448.7ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.9ms) CREATE 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)  (38.3ms) CREATE 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)  (18.1ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (23.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (8.2ms) CREATE 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)  (1.8ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (4.8ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.3ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.7ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.7ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (6.1ms) CREATE 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)  (3.4ms) CREATE 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)  (1.5ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.0ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.3ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (12.3ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.0ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.3ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.5ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.3ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.5ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (6.0ms) CREATE 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)  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161128221919')  (3.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 22:25:37 UTC], ["updated_at", 2016-11-28 22:25:37 UTC]]  (6.2ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (173.0ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (427.5ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (11.8ms) CREATE 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)  (26.0ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (5.9ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (12.3ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (15.9ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (4.6ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (6.0ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (4.7ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (4.9ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.6ms) CREATE 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)  (7.2ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (3.9ms) CREATE 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 '')  (5.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (19.1ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (10.4ms) CREATE 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)  (2.1ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.2ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.2ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (2.0ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.2ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.5ms) CREATE 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)  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161128221919')  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 22:29:22 UTC], ["updated_at", 2016-11-28 22:29:22 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (159.0ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (372.8ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (28.3ms) CREATE 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)  (26.4ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.5ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.7ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (2.9ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.7ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.2ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (5.1ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (5.0ms) CREATE 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)  (18.5ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.0ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (7.9ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.3ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.0ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.2ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (8.4ms) CREATE 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)  (6.1ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (4.3ms) CREATE 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)  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161128221919')  (14.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 22:30:24 UTC], ["updated_at", 2016-11-28 22:30:24 UTC]]  (6.1ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (143.1ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (351.5ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (35.6ms) CREATE 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)  (25.5ms) CREATE 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)  (2.0ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.4ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (0.9ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (2.9ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.5ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.4ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.2ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (5.2ms) CREATE 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)  (4.0ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.3ms) CREATE 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 '')  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (0.9ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (8.9ms) CREATE 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)  (1.7ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.6ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.8ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.2ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.2ms) CREATE 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)  (4.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161128221919')  (23.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 11:01:24 UTC], ["updated_at", 2016-11-30 11:01:24 UTC]]  (5.8ms) COMMIT ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (126.0ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (37.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (19.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.6ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (27.6ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (6.4ms) COMMIT Migrating to TranslateContents (20161108132035)  (5.8ms) BEGIN  (3.1ms) CREATE 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)  (2.0ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (2.5ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (6.7ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (6.6ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (5.2ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (5.9ms) BEGIN  (18.5ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (0.4ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (6.0ms) BEGIN  (17.6ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (0.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.5ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (12.0ms) BEGIN  (9.4ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (1.3ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (1.4ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (0.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (0.9ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (1.0ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (1.0ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (0.4ms) COMMIT Migrating to TranslateProps (20161120122914)  (6.1ms) BEGIN  (3.0ms) CREATE 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)  (5.8ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (4.4ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (2.1ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (1.2ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (1.6ms) COMMIT Migrating to CreatePwbSections (20161122174847)  (5.8ms) BEGIN  (19.9ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161122174847"]]  (0.5ms) COMMIT Migrating to CreatePwbTranslations (20161123124639)  (5.7ms) BEGIN  (19.4ms) CREATE 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) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123124639"]]  (0.5ms) COMMIT Migrating to CreatePwbFieldKeys (20161123232423)  (5.5ms) BEGIN  (20.1ms) CREATE 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)  (0.8ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123232423"]]  (0.4ms) COMMIT Migrating to CreatePwbPropPhotos (20161124103103)  (5.7ms) BEGIN  (18.4ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124103103"]]  (0.5ms) COMMIT Migrating to CreatePwbAddresses (20161124214746)  (6.0ms) BEGIN  (44.1ms) CREATE 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) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124214746"]]  (0.6ms) COMMIT Migrating to CreatePwbMessages (20161128200709)  (6.0ms) BEGIN  (19.3ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161128200709"]]  (0.5ms) COMMIT Migrating to CreatePwbClients (20161128221919)  (6.0ms) BEGIN  (43.2ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" ("documentation_id")  (1.5ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" ("first_names", "last_names")  (0.9ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" ("email") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161128221919"]]  (0.7ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 11:03:01 UTC], ["updated_at", 2016-11-30 11:03:01 UTC]]  (0.4ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_clients' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_field_keys' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_messages' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_sections' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-30 11:04:32 UTC], ["updated_at", 2016-11-30 11:04:32 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (2.2ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-11-30 11:04:40 UTC], ["updated_at", 2016-11-30 11:04:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.3ms) INSERT INTO "pwb_props" ("currency", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["currency", "EUR"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]] SQL (13.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"2", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"3", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"4", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]] SQL (1.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (7.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 4], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 4]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 5], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 5]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 6]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 7]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (8.9ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 9], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 9]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 10], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 10]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 11]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("currency", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["currency", "EUR"], ["created_at", 2016-11-30 11:04:49 UTC], ["updated_at", 2016-11-30 11:04:49 UTC]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 5], ["LIMIT", 1]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("currency", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["currency", "EUR"], ["created_at", 2016-11-30 11:05:24 UTC], ["updated_at", 2016-11-30 11:05:24 UTC]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2 [["id", 6], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("currency", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["currency", "EUR"], ["created_at", 2016-11-29 11:05:24 UTC], ["updated_at", 2016-11-30 11:05:24 UTC]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.7ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (8.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (1.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (1.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.7ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bed"], ["LIMIT", 1]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bed"], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.4ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (6.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (12.1ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bathrooms >= '3')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.4ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.5ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]]  (1.1ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.5ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Prop Load (1.5ms) SELECT "pwb_props".* FROM "pwb_props"  (0.2ms) BEGIN Pwb::Prop::Translation Load (0.6ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 7]] SQL (13.0ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 7]] SQL (0.6ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 7]]  (6.7ms) COMMIT  (0.1ms) BEGIN Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 8]] SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 8]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 8]]  (0.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 9]] SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 9]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 9]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 10]] SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 10]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 10]]  (0.6ms) COMMIT  (0.1ms) BEGIN Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 11]] SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 11]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 11]]  (0.4ms) COMMIT Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props"  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (7.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (7.0ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (5.1ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 12]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 12]]  (6.1ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 13]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 13]]  (5.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (10.4ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (1.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (2.7ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.0ms) COMMIT  (0.3ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 14]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 14]]  (1.0ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 15]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 15]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (7.0ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (7.2ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (2.9ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 16]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 16]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 17]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 17]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (7.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (6.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.7ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 18]] SQL (0.6ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 18]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 19]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 19]]  (6.1ms) COMMIT ActiveRecord::SchemaMigration Load (6.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (7.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (12.2ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"20", "url_friendly_title"=>"tt"} Pwb::Agency Load (6.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"21", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"22", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.1ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"23", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.6ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"24", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"25", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 25], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"26", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"27", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 27], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 27]] Completed 500 Internal Server Error in 23ms (ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"28", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"29", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"30", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 30]] Completed 500 Internal Server Error in 22ms (ActiveRecord: 1.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"31", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"32", "url_friendly_title"=>"tt"} Pwb::Agency Load (1.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"33", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"34", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (11.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 35]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 35]]  (6.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 36]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 36]]  (6.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.2ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 37]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 37]]  (5.5ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 38]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 38]]  (5.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 39]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 39]]  (6.3ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 40]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 40]]  (6.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (7.0ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 41]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 41]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 42]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 42]]  (6.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (173.9ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (327.9ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (26.9ms) CREATE 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)  (28.7ms) CREATE 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)  (2.0ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.5ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.3ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.8ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.7ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.6ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.1ms) CREATE 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)  (1.5ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.4ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (5.2ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.3ms) CREATE 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)  (3.2ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (3.8ms) CREATE 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 '')  (1.6ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (8.7ms) CREATE 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)  (1.6ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.1ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.6ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.9ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (4.1ms) CREATE 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)  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161128221919')  (2.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:23:58 UTC], ["updated_at", 2016-11-30 14:23:58 UTC]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (128.5ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (355.0ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.0ms) CREATE 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)  (25.4ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.4ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.5ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.3ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.7ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (4.8ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.6ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.1ms) CREATE 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)  (3.9ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (3.5ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (8.5ms) CREATE 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)  (1.5ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.2ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.2ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.4ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.4ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.4ms) CREATE 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)  (3.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161128221919')  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:24:36 UTC], ["updated_at", 2016-11-30 14:24:36 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (126.4ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (341.8ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.0ms) CREATE 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)  (21.9ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.2ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.0ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (4.0ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.2ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.5ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.6ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (4.1ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.3ms) CREATE 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)  (3.2ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.2ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (0.9ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (7.5ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.5ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.3ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.2ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.6ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.5ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.6ms) CREATE 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)  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161128221919')  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:25:13 UTC], ["updated_at", 2016-11-30 14:25:13 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (134.7ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (502.0ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (7.8ms) CREATE 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)  (22.2ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.7ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.7ms) CREATE 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)  (1.8ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (6.4ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.2ms) CREATE 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)  (2.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.5ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.5ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (5.9ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.0ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (4.6ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.4ms) CREATE 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)  (5.8ms) CREATE 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)  (1.7ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.0ms) CREATE 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 '')  (1.7ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.2ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (10.3ms) CREATE 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)  (1.8ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.4ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.7ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.3ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.8ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (2.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (2.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.0ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (6.5ms) CREATE 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)  (2.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161130141845')  (4.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:34:50 UTC], ["updated_at", 2016-11-30 14:34:50 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (125.5ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (346.4ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (7.8ms) CREATE 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)  (21.5ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.2ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.0ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.3ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.5ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.1ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (2.8ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.0ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (4.0ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.6ms) CREATE 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)  (3.7ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.0ms) CREATE 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 '')  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (7.5ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.5ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.3ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.4ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.2ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (4.4ms) CREATE 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)  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161130141845')  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:35:00 UTC], ["updated_at", 2016-11-30 14:35:00 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (132.1ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (384.1ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (4.9ms) CREATE 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)  (22.5ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.2ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.3ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.1ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.3ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.1ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.6ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (3.9ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.4ms) CREATE 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)  (3.8ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (3.5ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.2ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (8.6ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.1ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.1ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.0ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.1ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.1ms) CREATE 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)  (2.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161130141845')  (2.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:39:15 UTC], ["updated_at", 2016-11-30 14:39:15 UTC]]  (0.6ms) COMMIT ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (158.6ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (377.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (28.1ms) CREATE 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)  (27.5ms) CREATE 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)  (7.6ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.4ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.2ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (5.7ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.2ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.9ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.3ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (3.3ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.8ms) CREATE 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)  (3.5ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (27.4ms) CREATE 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 '')  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (7.8ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.8ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.4ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.4ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (2.1ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.6ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (5.0ms) CREATE 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)  (14.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (6.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20161130141845')  (6.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:47:27 UTC], ["updated_at", 2016-11-30 14:47:27 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (126.6ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (346.3ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (2.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (20.4ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (6.4ms) COMMIT Migrating to TranslateContents (20161108132035)  (11.7ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (7.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (12.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (0.2ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to TranslateContents (20161108132035)  (6.3ms) BEGIN  (16.5ms) CREATE 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)  (2.3ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (13.8ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (6.3ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (0.9ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (1.5ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (6.0ms) BEGIN  (15.3ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (0.4ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (6.1ms) BEGIN  (19.2ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (0.9ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.6ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (5.9ms) BEGIN  (47.1ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (0.9ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (0.8ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (0.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (1.1ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (6.4ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (6.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (6.8ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (1.5ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (0.8ms) COMMIT Migrating to TranslateProps (20161120122914)  (5.6ms) BEGIN  (3.7ms) CREATE 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)  (8.5ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (2.9ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (1.6ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (0.9ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (0.9ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (1.7ms) COMMIT Migrating to CreatePwbSections (20161122174847)  (6.2ms) BEGIN  (10.0ms) CREATE 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)  (5.9ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161122174847"]]  (0.6ms) COMMIT Migrating to CreatePwbTranslations (20161123124639)  (5.5ms) BEGIN  (19.8ms) CREATE 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) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123124639"]]  (0.6ms) COMMIT Migrating to CreatePwbFieldKeys (20161123232423)  (6.1ms) BEGIN  (20.5ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123232423"]]  (0.5ms) COMMIT Migrating to CreatePwbPropPhotos (20161124103103)  (5.9ms) BEGIN  (21.0ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124103103"]]  (0.6ms) COMMIT Migrating to CreatePwbAddresses (20161124214746)  (15.1ms) BEGIN  (11.2ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124214746"]]  (0.5ms) COMMIT Migrating to CreatePwbMessages (20161128200709)  (6.0ms) BEGIN  (19.7ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161128200709"]]  (0.5ms) COMMIT Migrating to CreatePwbClients (20161128221919)  (6.0ms) BEGIN  (19.6ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" ("documentation_id")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" ("first_names", "last_names")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" ("email") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161128221919"]]  (0.5ms) COMMIT Migrating to CreatePwbFeatures (20161130141845)  (11.5ms) BEGIN  (13.2ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" ("feature_key") SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161130141845"]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-01 19:35:12 UTC], ["updated_at", 2016-12-01 19:35:12 UTC]]  (0.3ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_clients' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_features' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_field_keys' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_messages' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_sections' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (3.1ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (7.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (7.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.7ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (12.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 1]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 1]]  (6.2ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 2]] SQL (0.8ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 2]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (12.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 2], ["LIMIT", 1]] Pwb::Content::Translation Load (18.7ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 2]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 3], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 3]] Pwb::Content::Translation Load (0.7ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 4]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 5]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (11.2ms) Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 7], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 7]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 8], ["LIMIT", 1]] Pwb::Content::Translation Load (0.1ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 8]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 9]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (1.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"3", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 3], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 3]] Completed 500 Internal Server Error in 32ms (ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"4", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"5", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.0ms) INSERT 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" [["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]] SQL (11.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"6", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"7", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"8", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"9", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"10", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"11", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.1ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"12", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"13", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"14", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (12.8ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-types"], ["visible", true]] Pwb::FieldKey Load (8.3ms) SELECT "pwb_field_keys".* FROM "pwb_field_keys"  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-types"], ["visible", true]]  (0.5ms) ROLLBACK  (13.3ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (19.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (28.9ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (2.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Prop Load (1.3ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-types"], ["visible", true]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Prop Load (1.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (12.6ms) BEGIN  (11.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (7.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (4.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:42:51 UTC], ["updated_at", 2016-12-04 13:42:51 UTC]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 288ms (ActiveRecord: 44.3ms)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.1ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.8ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (1.1ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 14], ["LIMIT", 1]] Pwb::Content::Translation Load (0.9ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 14]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 15], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 15]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 16]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 17]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.3ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (6.8ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 19], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 19]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 20], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 20]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 21]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 406 Not Acceptable in 184ms (ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.9ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.9ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.4ms) SELECT 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.%') [["locale", "en"]]  (0.5ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.4ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"17", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"18", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"19", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 19], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (6.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.4ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"20", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"21", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"22", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.6ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 26], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 26]] Pwb::ContentPhoto Load (0.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 27], ["LIMIT", 1]] Pwb::Content::Translation Load (4.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 27]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 28]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 29]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.3ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 31], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 31]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 32], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 32]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 33]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.6ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 22ms (Views: 8.9ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.0ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:48:46 UTC], ["updated_at", 2016-12-04 13:48:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 88ms (Views: 14.0ms | ActiveRecord: 10.1ms)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 13:49:02 UTC], ["updated_at", 2016-12-04 13:49:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 87ms (Views: 13.4ms | ActiveRecord: 8.8ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (3.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-04 14:00:01 UTC], ["updated_at", 2016-12-04 14:00:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 90ms (Views: 13.9ms | ActiveRecord: 11.8ms)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (19.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.5ms) BEGIN  (12.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (26.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (11.7ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 SQL (37.0ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (2.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (6.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (5.7ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.9ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"23", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.9ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"24", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"25", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 20ms (Views: 6.7ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 40], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 40]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 41], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 41]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 42]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 43]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms) Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-05 22:23:39 UTC], ["updated_at", 2016-12-05 22:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:39 UTC], ["updated_at", 2016-12-05 22:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:39 UTC], ["updated_at", 2016-12-05 22:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:39 UTC], ["updated_at", 2016-12-05 22:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-05 22:23:39 UTC], ["updated_at", 2016-12-05 22:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 45], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 45]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 46], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 46]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 47]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (18.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (157.4ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (365.6ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (27.2ms) CREATE 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)  (29.9ms) CREATE 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)  (1.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (6.0ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.4ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.2ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (4.6ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (4.7ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.3ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.9ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (8.7ms) CREATE 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)  (13.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.6ms) CREATE 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)  (3.6ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (3.5ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (12.1ms) CREATE 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)  (1.6ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (2.3ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.2ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.9ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.6ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (5.2ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (4.5ms) CREATE 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)  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161130141845')  (3.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-05 22:30:15 UTC], ["updated_at", 2016-12-05 22:30:15 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (7.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (171.3ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (348.1ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.7ms) CREATE 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)  (21.1ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.5ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.5ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (6.0ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (7.9ms) CREATE 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)  (3.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (7.2ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (6.7ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (7.2ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (4.9ms) CREATE 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)  (8.0ms) CREATE 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)  (3.8ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.9ms) CREATE 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 '')  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.8ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (10.0ms) CREATE 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)  (2.0ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.4ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.6ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.3ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.7ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.5ms) CREATE 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)  (1.9ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (4.4ms) CREATE 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)  (2.6ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.8ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.7ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (13.6ms) CREATE 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)  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.5ms) BEGIN SQL (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 05:50:45 UTC], ["updated_at", 2016-12-06 05:50:45 UTC]]  (7.1ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (179.0ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (419.0ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (25.3ms) CREATE 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)  (22.6ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (2.7ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.6ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.5ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.3ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.4ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (4.4ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.5ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (3.3ms) CREATE 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)  (2.4ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.4ms) CREATE 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)  (3.6ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.4ms) CREATE 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 '')  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (9.3ms) CREATE 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)  (1.9ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (2.3ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.4ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.2ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.8ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.1ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (8.6ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (3.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (9.4ms) CREATE 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)  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.3ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (3.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 06:28:00 UTC], ["updated_at", 2016-12-06 06:28:00 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (134.5ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (786.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (23.2ms) CREATE 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)  (34.0ms) CREATE 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)  (18.1ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (11.5ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (8.5ms) CREATE 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)  (12.5ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (17.6ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (12.3ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (43.1ms) CREATE 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)  (12.1ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (6.6ms) CREATE 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)  (12.9ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (17.3ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (45.6ms) CREATE 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)  (14.0ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (31.1ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (19.3ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (37.2ms) CREATE 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)  (12.7ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (25.4ms) CREATE 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)  (16.5ms) CREATE 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)  (30.4ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (33.3ms) CREATE 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 '')  (17.6ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.3ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (19.7ms) CREATE 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)  (2.4ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (13.3ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (12.3ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (14.2ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (13.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (5.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (2.8ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (13.2ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (39.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.5ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.6ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (21.7ms) CREATE 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)  (2.3ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (31.6ms) CREATE 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)  (13.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (12.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (13.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (26.5ms) CREATE 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)  (23.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (48.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 06:34:37 UTC], ["updated_at", 2016-12-06 06:34:37 UTC]]  (6.0ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (130.6ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (348.3ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (17.2ms) CREATE 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)  (22.2ms) CREATE 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)  (13.1ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (7.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (28.2ms) CREATE 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)  (46.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (5.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.6ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (39.6ms) CREATE 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)  (40.5ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (7.4ms) CREATE 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)  (12.8ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (3.4ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.8ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (26.8ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (12.4ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (41.8ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (25.3ms) CREATE 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)  (5.1ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (27.4ms) CREATE 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 '')  (12.5ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (17.5ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (18.0ms) CREATE 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)  (1.7ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (18.4ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (39.8ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (2.0ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (24.5ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (12.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (40.0ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.8ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (12.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (13.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (12.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (20.8ms) CREATE 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)  (2.6ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (6.0ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (2.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (3.1ms) CREATE 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)  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (3.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 06:36:00 UTC], ["updated_at", 2016-12-06 06:36:00 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (135.1ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (366.1ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (23.5ms) CREATE 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)  (27.5ms) CREATE 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)  (12.7ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.3ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (25.0ms) CREATE 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)  (12.6ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (45.3ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.5ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.4ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.8ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (12.6ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (52.6ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (28.0ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (12.7ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (20.0ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (21.5ms) CREATE 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)  (26.5ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (26.9ms) CREATE 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 '')  (12.6ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (5.6ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (19.0ms) CREATE 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)  (4.1ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (13.9ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (12.6ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (11.6ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (12.4ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (11.3ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.6ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.5ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (13.2ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (37.9ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (7.4ms) CREATE 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)  (14.4ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (9.6ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (4.1ms) CREATE 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)  (3.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 06:40:53 UTC], ["updated_at", 2016-12-06 06:40:53 UTC]]  (5.9ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (6.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (160.2ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (369.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (12.7ms) CREATE 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)  (45.4ms) CREATE 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)  (6.7ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.9ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.2ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (4.2ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.2ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.4ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.1ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (3.8ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.9ms) CREATE 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)  (7.1ms) CREATE 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)  (1.9ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.5ms) CREATE 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 '')  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.3ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (61.3ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.3ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.6ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.9ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.5ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.5ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.9ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (27.9ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (5.2ms) CREATE 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)  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (4.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 21:01:59 UTC], ["updated_at", 2016-12-06 21:01:59 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (130.3ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (439.0ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (28.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (20.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.5ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (18.4ms) CREATE 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)  (6.9ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (0.6ms) COMMIT Migrating to TranslateContents (20161108132035)  (5.9ms) BEGIN  (0.2ms) ROLLBACK  (0.7ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (11.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (0.2ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to TranslateContents (20161108132035)  (0.2ms) BEGIN  (6.1ms) CREATE 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)  (2.4ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (8.8ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (6.8ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (1.6ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (0.6ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (6.1ms) BEGIN  (18.6ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (0.3ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (5.5ms) BEGIN  (22.2ms) CREATE 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)  (6.9ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (6.9ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.8ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (6.2ms) BEGIN  (10.6ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (1.0ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (0.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (1.0ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (0.9ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (1.0ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (0.9ms) COMMIT Migrating to TranslateProps (20161120122914)  (5.8ms) BEGIN  (3.3ms) CREATE 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)  (5.1ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (3.3ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (1.9ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (1.4ms) COMMIT Migrating to CreatePwbSections (20161122174847)  (6.2ms) BEGIN  (19.0ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161122174847"]]  (0.5ms) COMMIT Migrating to CreatePwbTranslations (20161123124639)  (5.9ms) BEGIN  (19.6ms) CREATE 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) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123124639"]]  (0.6ms) COMMIT Migrating to CreatePwbFieldKeys (20161123232423)  (6.2ms) BEGIN  (15.6ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123232423"]]  (0.5ms) COMMIT Migrating to CreatePwbPropPhotos (20161124103103)  (6.0ms) BEGIN  (11.6ms) CREATE 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)  (5.5ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124103103"]]  (0.5ms) COMMIT Migrating to CreatePwbAddresses (20161124214746)  (14.8ms) BEGIN  (9.7ms) CREATE 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) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124214746"]]  (0.8ms) COMMIT Migrating to CreatePwbMessages (20161128200709)  (6.2ms) BEGIN  (15.8ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161128200709"]]  (0.5ms) COMMIT Migrating to CreatePwbClients (20161128221919)  (6.0ms) BEGIN  (20.4ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" ("documentation_id")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" ("first_names", "last_names")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" ("email") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161128221919"]]  (0.4ms) COMMIT Migrating to CreatePwbFeatures (20161130141845)  (6.2ms) BEGIN  (15.5ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" ("feature_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161130141845"]]  (0.5ms) COMMIT Migrating to DeviseCreatePwbUsers (20161205223003)  (6.1ms) BEGIN  (13.9ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" ("email")  (0.8ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" ("reset_password_token")  (0.9ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" ("confirmation_token") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161205223003"]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 21:03:48 UTC], ["updated_at", 2016-12-06 21:03:48 UTC]]  (0.3ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_clients' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_features' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_field_keys' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_messages' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_sections' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (6.9ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (8.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (12.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (12.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 1]] SQL (0.7ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 1]]  (5.1ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 2]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 2]]  (0.7ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (1.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]] SQL (2.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"3", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"4", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (5.9ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"5", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.6ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 20ms (Views: 7.5ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (7.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (1.0ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (1.8ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (11.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 4], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 4]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 5], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 5]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 6]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 7]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.5ms) Pwb::Content::Translation Load (0.8ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 9], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 9]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 10], ["LIMIT", 1]] Pwb::Content::Translation Load (0.7ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 10]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 11]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (12.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.1ms) INSERT 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" [["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]] SQL (6.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"6", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.6ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"7", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"8", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 16], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 16]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 17], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 17]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 18]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 19]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 21], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 21]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 22], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 22]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 23]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.2ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (1.0ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 9]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 9]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 10]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 10]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:40 UTC], ["updated_at", 2016-12-06 21:21:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:40 UTC], ["updated_at", 2016-12-06 21:21:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:40 UTC], ["updated_at", 2016-12-06 21:21:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:40 UTC], ["updated_at", 2016-12-06 21:21:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:40 UTC], ["updated_at", 2016-12-06 21:21:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 26], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 26]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 27], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 27]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 28]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 29]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.3ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 31], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 31]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 32], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 32]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 33]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.7ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.6ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 11]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 11]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 12]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 12]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"13", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 13], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.9ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"14", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"15", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"16", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"17", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 17], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"18", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 40], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 40]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 41], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 41]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 42]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 43]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.1ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 45], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 45]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 46], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 46]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 47]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.9ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.2ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 19]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 19]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 20]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 20]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 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)  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"21", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"22", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"23", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 23], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.8ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 50], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 50]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 51], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 51]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 52]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 53]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.9ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 55], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 55]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 56], ["LIMIT", 1]] Pwb::Content::Translation Load (1.0ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 56]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 57]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 24]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 24]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 25]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 25]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.7ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.6ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 63], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 63]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 64], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 64]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 65]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 66]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 68], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 68]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 69], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 69]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 70]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"26", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"27", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"28", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (5.1ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 29]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 29]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 30]] SQL (3.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 30]]  (1.4ms) COMMIT  (0.2ms) BEGIN  (1.8ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT 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.%') [["locale", "en"]]  (0.5ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.blank') OR "key" LIKE 'activerecord.errors.messages.blank.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.blank') OR "key" LIKE 'errors.attributes.email.blank.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.password') OR "key" LIKE 'activerecord.attributes.pwb/user.password.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.password') OR "key" LIKE 'attributes.password.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.password.blank') OR "key" LIKE 'errors.attributes.password.blank.%') [["locale", "en"]]  (2.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:42:14 UTC], ["updated_at", 2016-12-06 21:42:14 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:14 UTC], ["updated_at", 2016-12-06 21:42:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:14 UTC], ["updated_at", 2016-12-06 21:42:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:14 UTC], ["updated_at", 2016-12-06 21:42:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:14 UTC], ["updated_at", 2016-12-06 21:42:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.8ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 74], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 74]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 75], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 75]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 76]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 77]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.3ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 79], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 79]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 80], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 80]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 81]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (6.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (11.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 31]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 31]]  (6.1ms) COMMIT  (0.4ms) BEGIN SQL (1.2ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 32]] SQL (1.6ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 32]]  (5.0ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"33", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"34", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 34], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"35", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 35], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (25.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.9ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 4], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 64ms (Views: 12.2ms | ActiveRecord: 5.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 86], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 86]] Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 87], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 87]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 88]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 89]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.7ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 91], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 91]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 92], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 92]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 93]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"36", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"37", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"38", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 39]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 39]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 40]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 40]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (7.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (2.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:07 UTC], ["updated_at", 2016-12-06 21:57:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 71ms (Views: 13.0ms | ActiveRecord: 7.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:07 UTC], ["updated_at", 2016-12-06 21:57:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.8ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (7.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 41]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 41]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 42]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 42]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:57:39 UTC], ["updated_at", 2016-12-06 21:57:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 98], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 98]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 99], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 99]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 100]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 101]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.7ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 103], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 103]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 104], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 104]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 105]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 10], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 20ms (Views: 7.7ms | ActiveRecord: 1.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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: 1.3ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"43", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"44", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 44], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"45", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:41 UTC], ["updated_at", 2016-12-06 21:57:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:57:41 UTC], ["updated_at", 2016-12-06 21:57:41 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:41 UTC], ["updated_at", 2016-12-06 21:57:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 13], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 68ms (Views: 11.5ms | ActiveRecord: 7.4ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 110], ["LIMIT", 1]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 110]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 111], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 111]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 112]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 113]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.7ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 115], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 115]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 116], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 116]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 117]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"46", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 46], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"47", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"48", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 49]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 49]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 50]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 50]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (1.5ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 123], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 123]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 124], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 124]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 125]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 126]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.6ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 128], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 128]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 129], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 129]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 130]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 16], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 22ms (Views: 7.6ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"51", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"52", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"53", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 53], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (1.1ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 54]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 54]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 55]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 55]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 19], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:59:29 UTC], ["updated_at", 2016-12-06 21:59:29 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 73ms (Views: 10.2ms | ActiveRecord: 7.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:59:29 UTC], ["updated_at", 2016-12-06 21:59:29 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.2ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 21], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:59:35 UTC], ["updated_at", 2016-12-06 21:59:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 70ms (Views: 10.4ms | ActiveRecord: 6.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:59:35 UTC], ["updated_at", 2016-12-06 21:59:35 UTC]]  (1.0ms) RELEASE SAVEPOINT active_record_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: 1.0ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 23], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:59:58 UTC], ["updated_at", 2016-12-06 21:59:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 69ms (Views: 14.1ms | ActiveRecord: 6.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 21:59:58 UTC], ["updated_at", 2016-12-06 21:59:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::User Exists (1.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 25], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:00:04 UTC], ["updated_at", 2016-12-06 22:00:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 73ms (Views: 12.1ms | ActiveRecord: 6.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:00:04 UTC], ["updated_at", 2016-12-06 22:00:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 0.9ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 27], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:01:38 UTC], ["updated_at", 2016-12-06 22:01:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 73ms (Views: 12.6ms | ActiveRecord: 6.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 29], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:01:45 UTC], ["updated_at", 2016-12-06 22:01:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 73ms (Views: 10.5ms | ActiveRecord: 6.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:02:38 UTC], ["updated_at", 2016-12-06 22:02:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 66ms (Views: 10.1ms | ActiveRecord: 6.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 32], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:02:38 UTC], ["updated_at", 2016-12-06 22:02:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:02:44 UTC], ["updated_at", 2016-12-06 22:02:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 67ms (Views: 10.4ms | ActiveRecord: 6.9ms)  (0.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 35], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:02:44 UTC], ["updated_at", 2016-12-06 22:02:44 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.8ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:04:51 UTC], ["updated_at", 2016-12-06 22:04:51 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 80ms (Views: 11.9ms | ActiveRecord: 9.2ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 37], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:04:51 UTC], ["updated_at", 2016-12-06 22:04:51 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 10ms (Views: 0.9ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:05:35 UTC], ["updated_at", 2016-12-06 22:05:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 85ms (Views: 12.2ms | ActiveRecord: 8.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 39], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:05:35 UTC], ["updated_at", 2016-12-06 22:05:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:05:41 UTC], ["updated_at", 2016-12-06 22:05:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 77ms (Views: 10.1ms | ActiveRecord: 9.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:05:41 UTC], ["updated_at", 2016-12-06 22:05:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 73ms (Views: 12.9ms | ActiveRecord: 8.0ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.9ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"56", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 56], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"57", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 57], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"58", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.7ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 59]] SQL (0.7ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 59]]  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 60]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 60]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.8ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]] SQL (2.0ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 136], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 136]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 137], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 137]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 138]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 139]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.9ms) Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 141], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 141]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 142], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 142]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 143]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 45], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:10 UTC], ["updated_at", 2016-12-06 22:09:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 61ms (Views: 10.9ms | ActiveRecord: 5.8ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:10 UTC], ["updated_at", 2016-12-06 22:09:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 7ms (Views: 1.2ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 22:09:10 UTC], ["updated_at", 2016-12-06 22:09:10 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.7ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"61", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 61], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"62", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"63", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 147], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 147]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 148], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 148]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 149]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 150]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.9ms) Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 152], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 152]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 153], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 153]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 154]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (2.0ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.4ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 64]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 64]]  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 65]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 65]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 158], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 158]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 159], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 159]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 160]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 161]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.1ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 163], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 163]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 164], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 164]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 165]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (12.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (1.0ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 66]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 66]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 67]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 67]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]] SQL (1.0ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"68", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"69", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:06 UTC], ["updated_at", 2016-12-06 22:16:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 69], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"70", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:06 UTC], ["updated_at", 2016-12-06 22:16:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 70], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"71", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"72", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"73", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 73], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 171], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 171]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 172], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 172]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 173]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 174]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.6ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 176], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 176]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 177], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 177]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 178]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.8ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.9ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 74]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 74]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 75]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 75]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 18ms (Views: 6.9ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.8ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.7ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.2ms) BEGIN SQL (0.6ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 76]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 76]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 77]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 77]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"78", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"79", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 79], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"80", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 80], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (7.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 183], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 183]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 184], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 184]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 185]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 186]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.3ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 188], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 188]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 189], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 189]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 190]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.1ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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: 7.0ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.2ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (20.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (5.6ms) BEGIN  (5.9ms) SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (64.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 08:19:24 UTC], ["updated_at", 2016-12-07 08:19:24 UTC]]  (6.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (6.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (1.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]] SQL (0.9ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 196], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 196]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 197], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 197]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 198]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 199]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (8.1ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 201], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 201]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 202], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 202]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 203]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"81", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 81], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"82", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"83", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 83], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.2ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.2ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.3ms) BEGIN SQL (1.1ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 84]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 84]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 85]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 85]]  (0.3ms) COMMIT  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 19ms (Views: 8.3ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.6ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:20:08 UTC], ["updated_at", 2016-12-07 08:20:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 87ms (Views: 11.9ms | ActiveRecord: 8.6ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:20:08 UTC], ["updated_at", 2016-12-07 08:20:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:20:08 UTC], ["updated_at", 2016-12-07 08:20:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:25:04 UTC], ["updated_at", 2016-12-07 08:25:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 76ms (Views: 11.4ms | ActiveRecord: 7.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:25:04 UTC], ["updated_at", 2016-12-07 08:25:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:25:04 UTC], ["updated_at", 2016-12-07 08:25:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:25:42 UTC], ["updated_at", 2016-12-07 08:25:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 92ms (Views: 13.4ms | ActiveRecord: 12.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (8.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 47], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:25:42 UTC], ["updated_at", 2016-12-07 08:25:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.9ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:26:19 UTC], ["updated_at", 2016-12-07 08:26:19 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_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 118ms (Views: 17.7ms | ActiveRecord: 11.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.7ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 49], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 08:26:20 UTC], ["updated_at", 2016-12-07 08:26:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 12ms (Views: 0.7ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (12.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (12.3ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (25.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (2.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:03:45 UTC], ["updated_at", 2016-12-07 10:03:45 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_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 121ms (Views: 13.7ms | ActiveRecord: 50.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (8.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 51], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:03:45 UTC], ["updated_at", 2016-12-07 10:03:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:04:23 UTC], ["updated_at", 2016-12-07 10:04:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 82ms (Views: 11.3ms | ActiveRecord: 8.3ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 53], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:04:23 UTC], ["updated_at", 2016-12-07 10:04:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:04:30 UTC], ["updated_at", 2016-12-07 10:04:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 72ms (Views: 12.1ms | ActiveRecord: 6.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.7ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 57], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:04:30 UTC], ["updated_at", 2016-12-07 10:04:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.8ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:11:07 UTC], ["updated_at", 2016-12-07 10:11:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 80ms (Views: 11.5ms | ActiveRecord: 8.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 59], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:11:08 UTC], ["updated_at", 2016-12-07 10:11:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:11:14 UTC], ["updated_at", 2016-12-07 10:11:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 82ms (Views: 11.1ms | ActiveRecord: 9.7ms)  (0.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 61], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:11:14 UTC], ["updated_at", 2016-12-07 10:11:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 0.9ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (8.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (6.8ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (1.1ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.9ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 206], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 206]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 207], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 207]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 208]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 209]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 211], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 211]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 212], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 212]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 213]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 19ms (Views: 7.4ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (9.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 63], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.9ms | ActiveRecord: 1.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.7ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (11.2ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (1.1ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (10.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (2.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 86]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 86]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 87]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 87]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"88", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 88], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"89", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 89], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"90", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:10 UTC], ["updated_at", 2016-12-07 10:13:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:10 UTC], ["updated_at", 2016-12-07 10:13:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.9ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 65], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:10 UTC], ["updated_at", 2016-12-07 10:13:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:16 UTC], ["updated_at", 2016-12-07 10:13:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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: 6.2ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 67], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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: 1.2ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.2ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 69], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 220], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 220]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 221], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 221]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 222]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 223]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.1ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 225], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 225]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 226], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 226]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 227]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 91]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 91]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 92]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 92]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"93", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"94", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 94], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"95", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 95], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 72ms (Views: 12.6ms | ActiveRecord: 7.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 71], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.2ms) Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 73], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 10ms (Views: 1.1ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.8ms) BEGIN Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.0ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.9ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 96]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 96]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 97]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 97]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"98", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 98], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"99", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 99], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"100", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 230], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 230]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 231], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 231]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 232]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 233]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.9ms) Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 235], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 235]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 236], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 236]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 237]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 68ms (Views: 13.4ms | ActiveRecord: 6.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 75], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 1.2ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.8ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.4ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 101]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 101]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 102]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 102]]  (0.3ms) COMMIT  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 1.1ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 77], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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: 1.1ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"103", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 103], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (2.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"104", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"105", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 105], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 244], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 244]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 245], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 245]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 246]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 247]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 249], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 249]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 250], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 250]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 251]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.2ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:21 UTC], ["updated_at", 2016-12-07 10:14:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 148ms (Views: 25.6ms | ActiveRecord: 14.5ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 79], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:14:22 UTC], ["updated_at", 2016-12-07 10:14:22 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 33ms (Views: 16.0ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 81], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.1ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 106]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 106]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 107]] SQL (0.7ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 107]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (5.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (2.8ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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: 1.1ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 83], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 1.0ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.3ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"108", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"109", "url_friendly_title"=>"tt"} Pwb::Agency Load (2.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 109], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"110", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 110], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 256], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 256]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 257], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 257]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 258]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 259]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.1ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 261], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 261]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 262], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 262]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 263]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 78ms (Views: 14.9ms | ActiveRecord: 6.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 85], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.9ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.8ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 111]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 111]]  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 112]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 112]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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: 1.0ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 87], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 0.7ms | ActiveRecord: 1.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 267], ["LIMIT", 1]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 267]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 268], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 268]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 269]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 270]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 272], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 272]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 273], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 273]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 274]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"113", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 113], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"114", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"115", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 115], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.2ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:31 UTC], ["updated_at", 2016-12-07 10:15:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 71ms (Views: 11.5ms | ActiveRecord: 5.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 91], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:15:31 UTC], ["updated_at", 2016-12-07 10:15:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.8ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:17:16 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (6.7ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.8ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:17:16 UTC], ["updated_at", 2016-12-07 10:17:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 87ms (Views: 12.1ms | ActiveRecord: 5.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 94], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:17:16 UTC], ["updated_at", 2016-12-07 10:17:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:18:59 UTC], ["updated_at", 2016-12-07 10:18:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 84ms (Views: 11.8ms | ActiveRecord: 9.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 96], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:19:00 UTC], ["updated_at", 2016-12-07 10:19:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:19:00 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (2.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:21:52 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (1.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (3.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:25:39 UTC], ["updated_at", 2016-12-07 10:25:39 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 119ms (Views: 17.7ms | ActiveRecord: 16.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 100], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:25:39 UTC], ["updated_at", 2016-12-07 10:25:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:25:48 UTC], ["updated_at", 2016-12-07 10:25:48 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 83ms (Views: 11.8ms | ActiveRecord: 8.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 103], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:25:48 UTC], ["updated_at", 2016-12-07 10:25:48 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.9ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:26:03 UTC], ["updated_at", 2016-12-07 10:26:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 75ms (Views: 12.4ms | ActiveRecord: 6.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 106], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:26:03 UTC], ["updated_at", 2016-12-07 10:26:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 21ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:27:32 UTC], ["updated_at", 2016-12-07 10:27:32 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 74ms (Views: 11.4ms | ActiveRecord: 8.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 108], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:27:32 UTC], ["updated_at", 2016-12-07 10:27:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.3ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (12.8ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 116]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 116]]  (6.1ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 117]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 117]]  (6.1ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 278], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 278]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 279], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 279]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 280]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 281]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.0ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 283], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 283]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 284], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 284]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 285]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 22ms (Views: 9.5ms | ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 110], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 0.9ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 10ms (Views: 1.2ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (4.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 112], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (2.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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: 1.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]] SQL (3.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (1.7ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"118", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (1.0ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 118], ["LIMIT", 1]] Pwb::Prop::Translation Load (2.8ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (7.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"119", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"120", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 120], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:58 UTC], ["updated_at", 2016-12-07 10:30:58 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_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 89ms (Views: 12.1ms | ActiveRecord: 9.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 114], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:30:58 UTC], ["updated_at", 2016-12-07 10:30:58 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 1.2ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.1ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:31:26 UTC], ["updated_at", 2016-12-07 10:31:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 79ms (Views: 12.0ms | ActiveRecord: 8.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 116], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:31:26 UTC], ["updated_at", 2016-12-07 10:31:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:32:39 +0100  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:32:39 UTC], ["updated_at", 2016-12-07 10:32:39 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 78ms (Views: 11.6ms | ActiveRecord: 7.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 118], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:32:39 UTC], ["updated_at", 2016-12-07 10:32:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.9ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (6.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"121", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 121], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"122", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 122], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"123", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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: 7.4ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 120], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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: 1.0ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 290], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 290]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 291], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 291]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 292]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 293]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 295], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 295]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 296], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 296]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 297]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (5.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 124]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 124]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 125]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 125]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]] SQL (0.9ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 122], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:33:28 +0100  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:28 UTC], ["updated_at", 2016-12-07 10:33:28 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:33:28 UTC], ["updated_at", 2016-12-07 10:33:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:33:28 UTC], ["updated_at", 2016-12-07 10:33:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:33:28 UTC], ["updated_at", 2016-12-07 10:33:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:34:12 +0100  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (1.0ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:34:12 UTC], ["updated_at", 2016-12-07 10:34:12 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_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 110ms (Views: 26.5ms | ActiveRecord: 12.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 124], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:34:12 UTC], ["updated_at", 2016-12-07 10:34:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:34:33 UTC], ["updated_at", 2016-12-07 10:34:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 81ms (Views: 12.3ms | ActiveRecord: 8.3ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 126], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:34:33 UTC], ["updated_at", 2016-12-07 10:34:33 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.7ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:36:54 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:36:54 UTC], ["updated_at", 2016-12-07 10:36:54 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (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  (1.3ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.9ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.8ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]] SQL (7.2ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_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 69ms (Views: 13.1ms | ActiveRecord: 6.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 129], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"126", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"127", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 127], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"128", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 128], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 303], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 303]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 304], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 304]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 305]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 306]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.1ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 308], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 308]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 309], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 309]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 310]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 131], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (2.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 129]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 129]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 130]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 130]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:47 UTC], ["updated_at", 2016-12-07 10:37:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:37:47 UTC], ["updated_at", 2016-12-07 10:37:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:37:47 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:47 UTC], ["updated_at", 2016-12-07 10:37:47 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 16ms (Views: 7.0ms | ActiveRecord: 1.6ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:37:47 +0100  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:47 UTC], ["updated_at", 2016-12-07 10:37:47 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (1.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:37:56 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:37:56 UTC], ["updated_at", 2016-12-07 10:37:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (1.9ms) Completed 200 OK in 518ms (Views: 457.4ms | ActiveRecord: 7.2ms) Pwb::Section Load (2.3ms) SELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order [["visible", true]] Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:38:33 +0100  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:38:33 UTC], ["updated_at", 2016-12-07 10:38:33 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 19ms (Views: 8.2ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 135], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:38:33 UTC], ["updated_at", 2016-12-07 10:38:33 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 0.7ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.2ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (7.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:52:04 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:52:04 UTC], ["updated_at", 2016-12-07 10:52:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (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  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:53:16 UTC], ["updated_at", 2016-12-07 10:53:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:16 UTC], ["updated_at", 2016-12-07 10:53:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 24ms (Views: 7.3ms | ActiveRecord: 2.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 138], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.3ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"131", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 131], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"132", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"133", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 133], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:53:17 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC]] SQL (1.2ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.9ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.9ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 134]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 134]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 135]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 135]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 316], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 316]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 317], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 317]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 318]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 319]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.6ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 321], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 321]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 322], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 322]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 323]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:53:49 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"136", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 136], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"137", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"138", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (1.1ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 138], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:09 UTC], ["updated_at", 2016-12-07 10:54:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:54:09 UTC], ["updated_at", 2016-12-07 10:54:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:09 UTC], ["updated_at", 2016-12-07 10:54:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:09 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 18ms (Views: 7.3ms | ActiveRecord: 1.5ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:10 +0100  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 22ms (Views: 8.9ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 143], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.2ms) Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 139]] SQL (0.7ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 139]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 140]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 140]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 328], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 328]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 329], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 329]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 330]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 331]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.3ms) Pwb::Content::Translation Load (0.8ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 333], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 333]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 334], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 334]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 335]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:17 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:17 UTC], ["updated_at", 2016-12-07 10:54:17 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (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  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 141]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 141]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 142]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 142]]  (0.4ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 338], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 338]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 339], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 339]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 340]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 341]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.0ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 343], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 343]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 344], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 344]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 345]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (1.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 30ms (Views: 11.7ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 146], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:31 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 294ms (Views: 285.4ms | ActiveRecord: 1.5ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:31 +0100  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"143", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"144", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 144], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.7ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"145", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 145], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (2.0ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 146]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 146]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 147]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 147]]  (0.4ms) COMMIT  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 22ms (Views: 7.9ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 149], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 10ms (Views: 1.2ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:39 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_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 34ms (Views: 13.9ms | ActiveRecord: 2.2ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:39 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (2.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (3.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"148", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 148], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"149", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 149], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"150", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 351], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 351]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 352], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 352]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 353]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 354]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.6ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 356], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 356]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 357], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 357]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 358]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.2ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:55:17 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:55:17 UTC], ["updated_at", 2016-12-07 10:55:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (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  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (6.8ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:56:38 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:56:38 UTC], ["updated_at", 2016-12-07 10:56:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (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  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:58:08 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:58:08 UTC], ["updated_at", 2016-12-07 10:58:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (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  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.0ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:58:34 UTC], ["updated_at", 2016-12-07 10:58:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 128ms (Views: 24.3ms | ActiveRecord: 15.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 155], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 10:58:35 UTC], ["updated_at", 2016-12-07 10:58:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:02:34 UTC], ["updated_at", 2016-12-07 11:02:34 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_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 (2.1ms) Completed 200 OK in 205665ms (Views: 48.8ms | ActiveRecord: 10.2ms)  (1.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 157], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (2.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:06:00 UTC], ["updated_at", 2016-12-07 11:06:00 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_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.9ms) Completed 200 OK in 286120ms (Views: 96.3ms | ActiveRecord: 4.0ms)  (1.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (3.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:11:03 UTC], ["updated_at", 2016-12-07 11:11:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 89ms (Views: 12.7ms | ActiveRecord: 13.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 159], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:11:03 UTC], ["updated_at", 2016-12-07 11:11:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:12:58 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:12:58 UTC], ["updated_at", 2016-12-07 11:12:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (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  (1.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (1.1ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.2ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:13:43 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:13:43 UTC], ["updated_at", 2016-12-07 11:13:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (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  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:13:50 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:13:50 UTC], ["updated_at", 2016-12-07 11:13:50 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (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  (0.9ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.2ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:14:24 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:14:24 UTC], ["updated_at", 2016-12-07 11:14:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (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  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:15:08 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:15:08 UTC], ["updated_at", 2016-12-07 11:15:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (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  (1.0ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (1.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:15:09 UTC], ["updated_at", 2016-12-07 11:15:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.2ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:15:50 UTC], ["updated_at", 2016-12-07 11:15:50 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 18ms (Views: 1.4ms | ActiveRecord: 1.9ms)  (1.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:46:18 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:46:18 UTC], ["updated_at", 2016-12-07 11:46:18 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (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  (1.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (1.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:46:29 UTC], ["updated_at", 2016-12-07 11:46:29 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 17ms (Views: 1.5ms | ActiveRecord: 2.1ms)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 11:47:03 UTC], ["updated_at", 2016-12-07 11:47:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 19ms (Views: 1.4ms | ActiveRecord: 2.1ms)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (6.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"151", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 151], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.7ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"152", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 152], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"153", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 363], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 363]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 364], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 364]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 365]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 366]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.3ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 368], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 368]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 369], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 369]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 370]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.0ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 154]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 154]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 155]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 155]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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: 7.2ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 167], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:51:15 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 14ms (Views: 6.1ms | ActiveRecord: 1.3ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:51:15 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.8ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 11:51:45 UTC], ["updated_at", 2016-12-07 11:51:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 20ms (Views: 1.3ms | ActiveRecord: 1.9ms)  (0.7ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"156", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 156], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"157", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"158", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 158], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 376], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 376]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 377], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 377]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 378]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 379]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 381], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 381]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 382], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 382]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 383]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:52:13 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 16ms (Views: 6.4ms | ActiveRecord: 1.4ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:52:13 +0100  (0.8ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (1.1ms) Completed 200 OK in 25ms (Views: 9.5ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 171], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.0ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 159]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 159]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 160]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 160]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 11:52:24 UTC], ["updated_at", 2016-12-07 11:52:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 19ms (Views: 1.5ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 11:52:42 UTC], ["updated_at", 2016-12-07 11:52:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 17ms (Views: 1.6ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 23ms (Views: 7.8ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 173], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 1.6ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"161", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 161], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"162", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 162], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"163", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 386], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 386]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 387], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 387]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 388]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 389]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 391], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 391]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 392], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 392]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 393]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:53:03 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 335ms (Views: 326.9ms | ActiveRecord: 1.4ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:53:03 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 164]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 164]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 165]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 165]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 398], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 398]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 399], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 399]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 400]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 401]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.7ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 403], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 403]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 404], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 404]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 405]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"166", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 166], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"167", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"168", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 168], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (1.2ms) Completed 200 OK in 24ms (Views: 10.6ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 176], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.7ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (10.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (2.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 19ms (Views: 1.7ms | ActiveRecord: 2.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (1.0ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (12.5ms) COMMIT  (0.3ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 169]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 169]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 170]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 170]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:02:57 +0100  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_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 19ms (Views: 6.9ms | ActiveRecord: 1.8ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:02:57 +0100  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:03:39 UTC], ["updated_at", 2016-12-07 12:03:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 20ms (Views: 1.4ms | ActiveRecord: 2.7ms)  (1.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:04:04 UTC], ["updated_at", 2016-12-07 12:04:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 23ms (Views: 1.4ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 410], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 410]] Pwb::ContentPhoto Load (0.7ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 411], ["LIMIT", 1]] Pwb::Content::Translation Load (0.8ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 411]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 412]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 413]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (8.8ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 415], ["LIMIT", 1]] Pwb::Content::Translation Load (1.0ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 415]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 416], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 416]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 417]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:05:15 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 18ms (Views: 8.1ms | ActiveRecord: 1.5ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:05:15 +0100  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_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 19ms (Views: 7.7ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 180], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (1.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 12ms (Views: 0.8ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]] SQL (1.2ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 12ms (Views: 2.8ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (2.0ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.1ms) COMMIT  (0.3ms) BEGIN Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.7ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 171]] SQL (0.6ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 171]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 172]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 172]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.7ms) INSERT 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" [["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]] SQL (5.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"173", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 173], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"174", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"175", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 175], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (2.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (2.3ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"176", "url_friendly_title"=>"tt"} Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 176], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.2ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"177", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.2ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (17.2ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"178", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 178], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 422], ["LIMIT", 1]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 422]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 423], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 423]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 424]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 425]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 427], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 427]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 428], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 428]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 429]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:06:03 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 345ms (Views: 336.4ms | ActiveRecord: 1.4ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:06:03 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 179]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 179]]  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 180]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 180]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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: 6.0ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 183], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:06:04 UTC], ["updated_at", 2016-12-07 12:06:04 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.8ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (6.7ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 434], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 434]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 435], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 435]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 436]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 437]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.6ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 439], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 439]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 440], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 440]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 441]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (7.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 73ms (Views: 7.0ms | ActiveRecord: 14.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 185], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 9ms (Views: 1.0ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.3ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"181", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"182", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 182], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"183", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 183], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 184]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 184]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 185]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 185]]  (0.4ms) COMMIT  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:32:16 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 377ms (Views: 368.9ms | ActiveRecord: 1.5ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:32:16 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:32:17 UTC], ["updated_at", 2016-12-07 12:32:17 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.7ms) ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:37:27 UTC], ["updated_at", 2016-12-07 12:37:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 20ms (Views: 1.3ms | ActiveRecord: 1.9ms)  (0.7ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 446], ["LIMIT", 1]] Pwb::Content::Translation Load (0.9ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 446]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 447], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 447]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 448]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 449]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.1ms) Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 451], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 451]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 452], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 452]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 453]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (5.9ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 186]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 186]]  (6.1ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 187]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 187]]  (6.2ms) COMMIT  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]] SQL (6.8ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:39:11 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 16ms (Views: 6.9ms | ActiveRecord: 1.4ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:39:11 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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: 8.1ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 189], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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: 1.0ms | ActiveRecord: 1.3ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (1.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (2.0ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.2ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"188", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:49:30 UTC], ["updated_at", 2016-12-07 12:49:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 188], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"189", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:49:30 UTC], ["updated_at", 2016-12-07 12:49:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"190", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 12:49:31 UTC], ["updated_at", 2016-12-07 12:49:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 190], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (7.3ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:50:40 UTC], ["updated_at", 2016-12-07 12:50:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 21ms (Views: 1.5ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:52:04 UTC], ["updated_at", 2016-12-07 12:52:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 23ms (Views: 1.6ms | ActiveRecord: 3.0ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:53:03 UTC], ["updated_at", 2016-12-07 12:53:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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  (1.4ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Prop Load (8.2ms) SELECT "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 [["locale", "en"]] Completed 200 OK in 115ms (Views: 0.4ms | ActiveRecord: 20.9ms)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.1ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:54:19 UTC], ["updated_at", 2016-12-07 12:54:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.4ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Prop Load (1.5ms) SELECT "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 [["locale", "en"]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = 191 Pwb::Feature Load (18.6ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 191]] Pwb::PropPhoto Load (1.5ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 191]] Completed 200 OK in 76ms (Views: 2.7ms | ActiveRecord: 24.8ms)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 12:55:31 UTC], ["updated_at", 2016-12-07 12:55:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 192], ["LIMIT", 1]] Pwb::Feature Load (0.3ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 192]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 192]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 192]] Completed 200 OK in 42ms (Views: 2.4ms | ActiveRecord: 4.7ms)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (1.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 193], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 193]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 193]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 193]] Completed 200 OK in 42ms (Views: 2.0ms | ActiveRecord: 5.3ms)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (3.3ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 194], ["LIMIT", 1]] Pwb::Feature Load (0.5ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 194]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 194]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 194]] Completed 200 OK in 44ms (Views: 2.2ms | ActiveRecord: 5.3ms)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.3ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 195], ["LIMIT", 1]] Pwb::Feature Load (0.3ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 195]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 195]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 195]] Completed 200 OK in 38ms (Views: 1.8ms | ActiveRecord: 4.7ms)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (1.2ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 196], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 196]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 196]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 196]] Completed 200 OK in 44ms (Views: 1.8ms | ActiveRecord: 5.5ms)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.9ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 197], ["LIMIT", 1]] Pwb::Feature Load (0.3ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 197]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 197]] Pwb::PropPhoto Load (0.5ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 197]] Completed 200 OK in 46ms (Views: 2.4ms | ActiveRecord: 4.6ms)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (3.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 13:00:06 UTC], ["updated_at", 2016-12-07 13:00:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) ROLLBACK  (0.3ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (2.1ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 198]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 198]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 199]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 199]]  (0.4ms) COMMIT  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:06 UTC], ["updated_at", 2016-12-07 13:00:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (1.2ms) Completed 200 OK in 29ms (Views: 11.1ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 191], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.7ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 14:00:07 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 380ms (Views: 370.2ms | ActiveRecord: 1.4ms) Started GET "/admin" for 127.0.0.1 at 2016-12-07 14:00:07 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 200], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 200]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 200]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 200]] Completed 200 OK in 35ms (Views: 1.9ms | ActiveRecord: 4.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"201", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"202", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 202], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"203", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 203], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 460], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 460]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 461], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 461]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 462]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 463]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 13:00:08 UTC], ["updated_at", 2016-12-07 13:00:08 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:08 UTC], ["updated_at", 2016-12-07 13:00:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:08 UTC], ["updated_at", 2016-12-07 13:00:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:08 UTC], ["updated_at", 2016-12-07 13:00:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 13:00:08 UTC], ["updated_at", 2016-12-07 13:00:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 465], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 465]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 466], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 466]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 467]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.4ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 204], ["LIMIT", 1]] Pwb::Feature Load (0.7ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 204]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 204]] Pwb::PropPhoto Load (0.5ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 204]] Completed 200 OK in 41ms (Views: 1.8ms | ActiveRecord: 4.7ms)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.3ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (13.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (4.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 14:24:16 UTC], ["updated_at", 2016-12-07 14:24:16 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_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 176ms (Views: 17.5ms | ActiveRecord: 60.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (13.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (6.2ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 194], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 14:24:16 UTC], ["updated_at", 2016-12-07 14:24:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 14:24:39 UTC], ["updated_at", 2016-12-07 14:24:39 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 66ms (ActiveRecord: 8.7ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 196], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 14:24:39 UTC], ["updated_at", 2016-12-07 14:24:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 197], ["LIMIT", 1]] Completed 500 Internal Server Error in 35ms (ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (131.9ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (396.1ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (36.9ms) CREATE 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)  (27.0ms) CREATE 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)  (2.3ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.2ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.8ms) CREATE 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)  (1.9ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.3ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.4ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (4.0ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (5.5ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (28.3ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.0ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (6.0ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (5.6ms) CREATE 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)  (6.1ms) CREATE 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)  (2.6ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.7ms) CREATE 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 '')  (1.3ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (16.8ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.4ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.3ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.6ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.0ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.1ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.1ms) CREATE 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)  (2.9ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (7.5ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (3.3ms) CREATE 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)  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (24.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:43:36 UTC], ["updated_at", 2016-12-07 14:43:36 UTC]]  (5.9ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (130.6ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (906.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (23.7ms) CREATE 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)  (22.2ms) CREATE 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)  (12.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (40.4ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (22.8ms) CREATE 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)  (1.9ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (12.3ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (41.2ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (6.3ms) CREATE 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)  (12.2ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (14.4ms) CREATE 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)  (12.6ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (2.6ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (4.8ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (24.7ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (6.1ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (5.9ms) CREATE 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)  (6.2ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.4ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.3ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (10.6ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.3ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.2ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.2ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (5.1ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (4.4ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (25.7ms) CREATE 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)  (6.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (2.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:45:10 UTC], ["updated_at", 2016-12-07 14:45:10 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (131.5ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (849.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (16.0ms) CREATE 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)  (21.0ms) CREATE 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)  (1.9ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (12.3ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (8.6ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (14.7ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (40.2ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (6.3ms) CREATE 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)  (1.6ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (32.2ms) CREATE 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)  (18.5ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (12.2ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (28.8ms) CREATE 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)  (3.3ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.9ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (32.5ms) CREATE 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)  (43.4ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (8.5ms) CREATE 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)  (27.5ms) CREATE 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)  (2.4ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (22.4ms) CREATE 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 '')  (12.4ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (12.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (19.1ms) CREATE 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)  (12.6ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (12.1ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.6ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.7ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (12.7ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (8.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (2.1ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (3.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.8ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (3.8ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.4ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (13.8ms) CREATE 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)  (14.0ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (8.3ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (6.4ms) CREATE 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)  (6.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (6.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (46.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:45:34 UTC], ["updated_at", 2016-12-07 14:45:34 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (134.4ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (1479.3ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (5.9ms) CREATE 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)  (22.6ms) CREATE 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)  (13.5ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (40.5ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (8.7ms) CREATE 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)  (12.8ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (38.7ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.7ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (26.3ms) CREATE 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)  (42.5ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (5.4ms) CREATE 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)  (2.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (11.8ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (25.6ms) CREATE 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)  (13.5ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (20.9ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.6ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (21.2ms) CREATE 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)  (1.9ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (27.2ms) CREATE 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)  (25.1ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.9ms) CREATE 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 '')  (13.4ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (5.7ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (19.1ms) CREATE 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)  (2.4ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (13.0ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (39.7ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (2.5ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (13.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (12.8ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (41.1ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.8ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (13.3ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (40.7ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.7ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (22.3ms) CREATE 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)  (11.6ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (17.7ms) CREATE 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)  (12.9ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (41.6ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (2.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (26.8ms) CREATE 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)  (20.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.8ms) SELECT version FROM "schema_migrations"  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (4.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:48:47 UTC], ["updated_at", 2016-12-07 14:48:47 UTC]]  (6.2ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (127.5ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (1039.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (14.4ms) CREATE 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)  (32.9ms) CREATE 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)  (21.6ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (22.2ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.6ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (2.8ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (35.7ms) CREATE 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)  (41.3ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (43.4ms) CREATE 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)  (18.4ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (3.5ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (5.3ms) CREATE 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)  (6.6ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (20.2ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (8.9ms) CREATE 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)  (18.2ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (9.7ms) CREATE 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)  (4.8ms) CREATE 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)  (1.6ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.5ms) CREATE 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 '')  (1.7ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (11.7ms) CREATE 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)  (2.0ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (12.0ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (12.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (5.9ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (12.6ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (11.8ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.5ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (7.8ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (42.4ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (3.6ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.2ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (48.0ms) CREATE 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)  (2.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (13.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (7.7ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (27.8ms) CREATE 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)  (25.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.7ms) SELECT version FROM "schema_migrations"  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (18.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:49:21 UTC], ["updated_at", 2016-12-07 14:49:21 UTC]]  (6.2ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (129.5ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (654.0ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (11.9ms) CREATE 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)  (26.3ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.5ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.5ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (21.5ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.8ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.6ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.5ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (3.3ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.2ms) CREATE 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)  (3.5ms) CREATE 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)  (1.5ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (3.1ms) CREATE 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 '')  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (8.6ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.4ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (13.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (11.8ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (3.5ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (9.5ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.9ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.3ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.2ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.8ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (4.1ms) CREATE 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)  (2.2ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.3ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (2.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:49:49 UTC], ["updated_at", 2016-12-07 14:49:49 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (158.8ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (373.9ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.9ms) CREATE 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)  (20.6ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.2ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (5.1ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (6.2ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.2ms) CREATE 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)  (1.9ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (5.6ms) CREATE 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)  (1.9ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.8ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (3.5ms) CREATE 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)  (18.2ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (32.8ms) CREATE 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)  (4.2ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (7.4ms) CREATE 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 '')  (1.3ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (18.4ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (37.8ms) CREATE 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)  (25.1ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (25.0ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (12.3ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (17.9ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (18.7ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (12.2ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (21.8ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (17.5ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (17.0ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (12.5ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (18.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (25.0ms) CREATE 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)  (18.1ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (27.0ms) CREATE 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)  (21.6ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (11.9ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (17.8ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (25.8ms) CREATE 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)  (24.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (24.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 15:03:19 UTC], ["updated_at", 2016-12-07 15:03:19 UTC]]  (6.0ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (133.8ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (462.1ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.5ms) CREATE 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)  (26.6ms) CREATE 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)  (2.3ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.2ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.5ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.2ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.5ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.6ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.7ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.3ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (5.4ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.3ms) CREATE 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)  (3.7ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.4ms) CREATE 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 '')  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.2ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (10.2ms) CREATE 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)  (1.8ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.1ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (2.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.3ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.2ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.5ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (2.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (5.2ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.9ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.8ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (5.0ms) CREATE 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)  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (3.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 15:04:07 UTC], ["updated_at", 2016-12-07 15:04:07 UTC]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.3ms) BEGIN  (26.5ms) CREATE 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)  (0.2ms) ROLLBACK  (0.4ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (129.7ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (5.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (5.2ms) CREATE 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)  (0.9ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (0.5ms) COMMIT Migrating to TranslateContents (20161108132035)  (6.1ms) BEGIN  (15.4ms) CREATE 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)  (7.7ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (1.0ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (6.5ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (12.3ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (0.4ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (6.2ms) BEGIN  (16.2ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (0.4ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (5.5ms) BEGIN  (15.4ms) CREATE 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)  (0.9ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (0.9ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.4ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (6.1ms) BEGIN  (14.3ms) CREATE 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)  (1.6ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (1.1ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (1.4ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (1.0ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (0.9ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (0.7ms) COMMIT Migrating to TranslateProps (20161120122914)  (5.7ms) BEGIN  (4.4ms) CREATE 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)  (4.2ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (3.0ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (2.2ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (0.9ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (0.8ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (1.4ms) COMMIT Migrating to CreatePwbSections (20161122174847)  (5.6ms) BEGIN  (18.7ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161122174847"]]  (0.4ms) COMMIT Migrating to CreatePwbTranslations (20161123124639)  (6.0ms) BEGIN  (14.4ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123124639"]]  (4.7ms) COMMIT Migrating to CreatePwbFieldKeys (20161123232423)  (6.0ms) BEGIN  (15.2ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123232423"]]  (0.4ms) COMMIT Migrating to CreatePwbPropPhotos (20161124103103)  (5.8ms) BEGIN  (14.6ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124103103"]]  (0.5ms) COMMIT Migrating to CreatePwbAddresses (20161124214746)  (5.8ms) BEGIN  (16.8ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124214746"]]  (0.5ms) COMMIT Migrating to CreatePwbMessages (20161128200709)  (5.9ms) BEGIN  (19.9ms) CREATE 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) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161128200709"]]  (0.8ms) COMMIT Migrating to CreatePwbClients (20161128221919)  (6.3ms) BEGIN  (18.4ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" ("documentation_id")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" ("first_names", "last_names")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" ("email") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161128221919"]]  (0.5ms) COMMIT Migrating to CreatePwbFeatures (20161130141845)  (5.8ms) BEGIN  (16.0ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.3ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" ("feature_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161130141845"]]  (0.5ms) COMMIT Migrating to DeviseCreatePwbUsers (20161205223003)  (5.6ms) BEGIN  (19.2ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" ("email")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" ("reset_password_token")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" ("confirmation_token") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161205223003"]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 15:05:04 UTC], ["updated_at", 2016-12-07 15:05:04 UTC]]  (0.4ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_clients' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_features' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_field_keys' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_messages' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_sections' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (19.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:05:23 UTC], ["updated_at", 2016-12-07 15:05:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 84ms (ActiveRecord: 29.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (24.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (4.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:05:23 UTC], ["updated_at", 2016-12-07 15:05:23 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:05:24 UTC], ["updated_at", 2016-12-07 15:05:24 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:07 UTC], ["updated_at", 2016-12-07 15:07:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 63ms (ActiveRecord: 8.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 5], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:08 UTC], ["updated_at", 2016-12-07 15:07:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:08 UTC], ["updated_at", 2016-12-07 15:07:08 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.6ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]] SQL (18.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (10.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 3], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 3]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 4], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 4]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 5]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 6]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.7ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 8], ["LIMIT", 1]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 8]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 9], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 9]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 10]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (2.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (14.4ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (5.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.7ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.8ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 1]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 2]] SQL (0.6ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 2]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 11], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "ad@pwb.com"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:07:42 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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) Pwb::Section Load (0.4ms) SELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order [["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  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 3], ["LIMIT", 1]] Pwb::Feature Load (2.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 3]] Pwb::Prop::Translation Load (0.2ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 3]] Pwb::PropPhoto Load (1.1ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 3]] Completed 200 OK in 31ms (Views: 1.9ms | ActiveRecord: 6.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"4", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"5", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"6", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.1ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 15:08:00 UTC], ["updated_at", 2016-12-07 15:08:00 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.8ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:00 UTC], ["updated_at", 2016-12-07 15:08:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 14], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:00 UTC], ["updated_at", 2016-12-07 15:08:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 16], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:08:01 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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) Pwb::Section Load (0.5ms) SELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order [["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  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 7], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 7]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 7]] Pwb::PropPhoto Load (1.4ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 7]] Completed 200 OK in 44ms (Views: 3.8ms | ActiveRecord: 6.2ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]] SQL (0.7ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.9ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.3ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 8]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 8]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 9]] SQL (0.9ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 9]]  (0.5ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"10", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 10], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"11", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 11], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"12", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.8ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 15], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 15]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 16], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 16]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 17]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 18]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.3ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 20], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 20]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 21], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 21]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 22]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:08:14 +0100  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (1.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:14 UTC], ["updated_at", 2016-12-07 15:08:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (2.4ms) Pwb::Section Load (0.6ms) SELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order [["visible", true]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.1ms)  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:14 UTC], ["updated_at", 2016-12-07 15:08:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 16ms (Views: 3.5ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.1ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (1.1ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 13], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 13]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 13]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 13]] Completed 200 OK in 42ms (Views: 3.4ms | ActiveRecord: 5.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"14", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"15", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 15], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"16", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 16], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 17]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 17]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 18]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 18]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 28], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 28]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 29], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 29]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 30]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 31]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.0ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 33], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 33]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 34], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 34]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 35]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 20], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 22], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:16 UTC], ["updated_at", 2016-12-07 15:08:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:22 UTC], ["updated_at", 2016-12-07 15:08:22 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 63ms (ActiveRecord: 7.9ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 24], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:22 UTC], ["updated_at", 2016-12-07 15:08:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 26], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:22 UTC], ["updated_at", 2016-12-07 15:08:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:51 UTC], ["updated_at", 2016-12-07 15:08:51 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 63ms (ActiveRecord: 8.2ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 28], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:51 UTC], ["updated_at", 2016-12-07 15:08:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.7ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 30], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:08:51 UTC], ["updated_at", 2016-12-07 15:08:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.8ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 32], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:09:46 UTC], ["updated_at", 2016-12-07 15:09:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 34], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:09:46 UTC], ["updated_at", 2016-12-07 15:09:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 15ms (Views: 1.4ms | ActiveRecord: 1.8ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:10:06 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (2.5ms) Pwb::Section Load (0.6ms) SELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order [["visible", true]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.2ms)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.1ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.4ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 19]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 19]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.7ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 20]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 20]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"21", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 21], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"22", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"23", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (3.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 37], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 39], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 38], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 38]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 39], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 39]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 40]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 41]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.4ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 43], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 43]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 44], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 44]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 45]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 24], ["LIMIT", 1]] Pwb::Feature Load (0.5ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 24]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 24]] Pwb::PropPhoto Load (0.5ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 24]] Completed 200 OK in 29ms (Views: 1.6ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 41], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:23 UTC], ["updated_at", 2016-12-07 15:10:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 70ms (Views: 12.6ms | ActiveRecord: 7.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 43], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:10:23 UTC], ["updated_at", 2016-12-07 15:10:23 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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 6ms (Views: 0.7ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (7.2ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 45], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:14 UTC], ["updated_at", 2016-12-07 15:11:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 47], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:14 UTC], ["updated_at", 2016-12-07 15:11:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:26 UTC], ["updated_at", 2016-12-07 15:11:26 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (6.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (11.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 25]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 25]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 26]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 26]]  (5.6ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 27], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 27]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 27]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 27]] Completed 200 OK in 39ms (Views: 2.2ms | ActiveRecord: 5.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 49], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 51], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.2ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"28", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"29", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"30", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 51], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 51]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 52], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 52]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 53]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 54]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms) Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 56], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 56]] Pwb::ContentPhoto Load (0.2ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 57], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 57]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 58]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:11:28 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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.7ms) Pwb::Section Load (0.9ms) SELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order [["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  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (14.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.3ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (25.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (4.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 11:49:50 UTC], ["updated_at", 2016-12-08 11:49:50 UTC]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (12.4ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (28.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-08 11:49:51 UTC], ["updated_at", 2016-12-08 11:49:51 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 11:49:51 UTC], ["updated_at", 2016-12-08 11:49:51 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.9ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (14.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (9.0ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (1.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"31", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (1.2ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] Pwb::Prop::Translation Load (6.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"32", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"33", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (13.1ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 12:29:49 UTC], ["updated_at", 2016-12-08 12:29:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 12:29:55 UTC], ["updated_at", 2016-12-08 12:29:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (2.1ms) SAVEPOINT active_record_1  (2.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (15.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 15:38:28 UTC], ["updated_at", 2016-12-08 15:38:28 UTC]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (6.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.3ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (7.8ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 34]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 34]]  (5.7ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 35]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 35]]  (6.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (1.2ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (6.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 36]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 36]]  (6.3ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 37]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 37]]  (5.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.9ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"38", "url_friendly_title"=>"tt"} Pwb::Agency Load (7.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 38], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"39", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 39], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"40", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.4ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"41", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 16:39:47 UTC], ["updated_at", 2016-12-08 16:39:47 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 41], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"42", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 16:39:48 UTC], ["updated_at", 2016-12-08 16:39:48 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 42], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"43", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-08 16:39:48 UTC], ["updated_at", 2016-12-08 16:39:48 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (11.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (12.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (7.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (7.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-09 15:13:49 UTC], ["updated_at", 2016-12-09 15:13:49 UTC]]  (5.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-09 15:13:55 UTC], ["updated_at", 2016-12-09 15:13:55 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (6.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-09 15:43:01 UTC], ["updated_at", 2016-12-09 15:43:01 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (2.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-09 15:47:28 UTC], ["updated_at", 2016-12-09 15:47:28 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (8.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-09 15:51:07 UTC], ["updated_at", 2016-12-09 15:51:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-09 15:53:04 UTC], ["updated_at", 2016-12-09 15:53:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (25.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (17.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (13.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (17.9ms) BEGIN Pwb::Prop Exists (41.7ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (61.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.8ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (7.0ms) ROLLBACK  (0.1ms) BEGIN SQL (8.9ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 44]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 44]]  (3.6ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 45]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 45]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (2.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 06:54:49 UTC], ["updated_at", 2016-12-12 06:54:49 UTC]]  (9.4ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 27ms (Views: 1.3ms | ActiveRecord: 1.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-12 06:54:49 UTC], ["updated_at", 2016-12-12 06:54:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (24.7ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (1.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.1ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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"} Pwb::Prop Load (7.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 46], ["LIMIT", 1]] Pwb::Feature Load (19.8ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 46]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 46]] Pwb::PropPhoto Load (0.7ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 46]] Completed 200 OK in 88ms (Views: 2.9ms | ActiveRecord: 38.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (13.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 54], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 56], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.8ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (17.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"47", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.4ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"48", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.1ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (1.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (7.9ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.7ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"49", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] Pwb::Prop::Translation Load (1.6ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (9.2ms) ROLLBACK  (0.2ms) BEGIN  (1.3ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (2.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]  (3.9ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (1.1ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 64], ["LIMIT", 1]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 64]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 65], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 65]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 66]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 67]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.0ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 69], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 69]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 70], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 70]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 71]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]] SQL (0.5ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (1.9ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-12 07:54:59 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (1.7ms) UPDATE "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 [["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]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (1.7ms) Pwb::Section Load (0.6ms) SELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order [["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  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.2ms) SAVEPOINT active_record_1  (2.2ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (26.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 08:42:32 UTC], ["updated_at", 2016-12-12 08:42:32 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (1.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 35ms (Views: 1.3ms | ActiveRecord: 2.5ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:01:14 UTC], ["updated_at", 2016-12-12 09:01:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 21ms (Views: 0.4ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:18:00 UTC], ["updated_at", 2016-12-12 09:18:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 20ms (Views: 0.3ms | ActiveRecord: 0.7ms)  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:20:47 UTC], ["updated_at", 2016-12-12 09:20:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (26.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:20:54 UTC], ["updated_at", 2016-12-12 09:20:54 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (8.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:22:40 UTC], ["updated_at", 2016-12-12 09:22:40 UTC]]  (6.2ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (6.0ms) COMMIT ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]]  (13.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (6.8ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT 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.%') [["locale", "en"]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Pwb::User Exists (1.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]]  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%') [["locale", "en"]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies"  (1.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies"  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 117]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:27:10 UTC], ["updated_at", 2016-12-12 09:27:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]]  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 117]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_users" Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 61]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:27:43 UTC], ["updated_at", 2016-12-12 09:27:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (6.2ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT COUNT(*) FROM "pwb_users" Pwb::User Load (0.7ms) SELECT "pwb_users".* FROM "pwb_users"  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 61]]  (12.7ms) COMMIT Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies"  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 117]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:34:03 UTC], ["updated_at", 2016-12-12 09:34:03 UTC]]  (5.7ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (6.3ms) COMMIT  (0.4ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:34:04 +0100  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (1.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 5ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.4ms) SELECT COUNT(*) FROM "pwb_users"  (0.6ms) ROLLBACK  (0.4ms) BEGIN SQL (0.6ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 120]]  (7.8ms) COMMIT  (0.5ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 63]]  (12.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT COUNT(*) FROM "pwb_users"  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:35:20 UTC], ["updated_at", 2016-12-12 09:35:20 UTC]]  (12.7ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (6.2ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:35:21 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (6.1ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 121]]  (6.4ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 64]]  (5.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:42:58 UTC], ["updated_at", 2016-12-12 09:42:58 UTC]]  (0.5ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (1.8ms) COMMIT  (0.1ms) BEGIN 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 Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 13ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:42:59 +0100  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 122]]  (9.2ms) COMMIT  (0.2ms) BEGIN SQL (0.6ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 65]]  (6.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:43:34 UTC], ["updated_at", 2016-12-12 09:43:34 UTC]]  (6.4ms) COMMIT  (0.3ms) BEGIN Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (6.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.3ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:43:34 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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 Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 123]]  (6.3ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 66]]  (5.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 09:44:21 UTC], ["updated_at", 2016-12-12 09:44:21 UTC]]  (6.0ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.1ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:44:22 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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 Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 124]]  (6.2ms) COMMIT  (0.1ms) BEGIN SQL (0.6ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 67]]  (4.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (27.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 10:55:32 UTC], ["updated_at", 2016-12-12 10:55:32 UTC]]  (1.3ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (7.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.1ms) COMMIT  (0.1ms) BEGIN  (18.3ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (11.5ms) SAVEPOINT active_record_1 Pwb::Prop Exists (19.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (2.3ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/api/v1/properties/50" for 127.0.0.1 at 2016-12-12 11:55:32 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 11:55:32 +0100  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 11:55:32 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 125]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 68]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (7.0ms) INSERT 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" [["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]] SQL (0.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (5.2ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.5ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.6ms) SELECT 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.%') [["locale", "en"]]  (0.5ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN Pwb::Prop Exists (2.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (2.0ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.4ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]]  (0.9ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (1.1ms) SELECT COUNT(*) FROM "pwb_props" Pwb::Prop Load (1.0ms) SELECT "pwb_props".* FROM "pwb_props" Pwb::Prop Load (6.7ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Prop Load (1.1ms) SELECT "pwb_props".* FROM "pwb_props"  (0.2ms) BEGIN Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 51]] SQL (6.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 51]] SQL (21.7ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 51]]  (10.8ms) COMMIT  (0.2ms) BEGIN Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 52]] SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 52]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 52]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 53]] SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 53]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 53]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (1.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (7.3ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (5.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.1ms) COMMIT  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/api/v1/properties/56" for 127.0.0.1 at 2016-12-12 12:03:22 +0100  (1.0ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/54" for 127.0.0.1 at 2016-12-12 12:03:22 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"54"} Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 54], ["LIMIT", 1]] Pwb::Feature Load (12.5ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 54]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 54]] Pwb::PropPhoto Load (0.7ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 54]] Completed 200 OK in 74ms (Views: 1.9ms | ActiveRecord: 16.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:03:22 +0100  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 55]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 55]]  (5.8ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 54]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 54]]  (4.6ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 69]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (1.1ms) INSERT 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" [["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]] SQL (0.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (12.9ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (7.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.2ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/properties/57" for 127.0.0.1 at 2016-12-12 12:07:04 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:07:09 +0100  (0.2ms) ROLLBACK  (0.6ms) BEGIN Started GET "/api/v1/properties/57" for 127.0.0.1 at 2016-12-12 12:07:09 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"57"} Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 57], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 57]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 57]] Pwb::PropPhoto Load (0.8ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 57]] Completed 200 OK in 70ms (Views: 2.8ms | ActiveRecord: 5.2ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 58]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 58]]  (7.0ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 57]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 57]]  (6.0ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 70]]  (2.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (6.7ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.0ms) COMMIT  (0.3ms) BEGIN Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (6.2ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.1ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:07:30 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/59" for 127.0.0.1 at 2016-12-12 12:07:30 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"59"} Pwb::Prop Load (1.1ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 59], ["LIMIT", 1]] Pwb::Feature Load (0.3ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 59]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 59]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 59]] Completed 200 OK in 67ms (Views: 2.1ms | ActiveRecord: 5.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Started GET "/api/v1/properties/59" for 127.0.0.1 at 2016-12-12 12:07:37 +0100  (0.3ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 60]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 60]]  (5.9ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 59]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 59]]  (6.0ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 71]]  (2.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (2.1ms) INSERT 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" [["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]] SQL (2.0ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (5.8ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.2ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/properties/61" for 127.0.0.1 at 2016-12-12 12:08:26 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/61" for 127.0.0.1 at 2016-12-12 12:08:26 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"61"} Pwb::Prop Load (1.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 61], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 61]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 61]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 61]] Completed 200 OK in 58ms (Views: 1.9ms | ActiveRecord: 5.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 62]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 62]]  (1.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 61]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 61]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 72]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (0.9ms) INSERT 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" [["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]] SQL (0.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (11.0ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (1.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.0ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.3ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/properties/63" for 127.0.0.1 at 2016-12-12 12:09:14 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"63"} Pwb::Prop Load (1.3ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 63], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 63]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 63]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 63]] Completed 200 OK in 70ms (Views: 2.1ms | ActiveRecord: 5.7ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/63" for 127.0.0.1 at 2016-12-12 12:09:14 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.6ms) ROLLBACK  (0.1ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 64]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 64]]  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 63]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 63]]  (1.3ms) COMMIT  (0.1ms) BEGIN SQL (0.6ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 73]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (6.5ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (11.0ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.2ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/properties/65" for 127.0.0.1 at 2016-12-12 12:21:30 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/65" for 127.0.0.1 at 2016-12-12 12:21:30 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"65"} Pwb::Prop Load (1.0ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 65], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 65]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 65]] Pwb::PropPhoto Load (0.5ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 65]] Completed 200 OK in 57ms (Views: 1.8ms | ActiveRecord: 5.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 66]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 66]]  (1.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 65]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 65]]  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 74]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (3.0ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 11:21:41 UTC], ["updated_at", 2016-12-12 11:21:41 UTC]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (1.8ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:21:41 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:21:41 +0100  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.8ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 126]]  (6.0ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 75]]  (5.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 11:24:25 UTC], ["updated_at", 2016-12-12 11:24:25 UTC]]  (12.8ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (6.1ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.2ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:24:25 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:24:25 +0100  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 127]]  (6.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 76]]  (6.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.2ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-12 11:25:37 UTC], ["updated_at", 2016-12-12 11:25:37 UTC]]  (6.3ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.2ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:25:37 +0100  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:25:37 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 17ms (Views: 1.7ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 128]]  (9.6ms) COMMIT  (0.2ms) BEGIN SQL (0.6ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 77]]  (4.5ms) COMMIT ActiveRecord::SchemaMigration Load (6.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (6.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.4ms) BEGIN  (6.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.2ms) SAVEPOINT active_record_1  (3.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 16:04:44 UTC], ["updated_at", 2016-12-12 16:04:44 UTC]]  (6.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 16:07:48 UTC], ["updated_at", 2016-12-12 16:07:48 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 16:09:24 UTC], ["updated_at", 2016-12-12 16:09:24 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 16:10:03 UTC], ["updated_at", 2016-12-12 16:10:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (5.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-12 16:12:47 UTC], ["updated_at", 2016-12-12 16:12:47 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.1ms) SAVEPOINT active_record_1  (1.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (25.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-13 11:50:06 UTC], ["updated_at", 2016-12-13 11:50:06 UTC]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-13 11:51:03 UTC], ["updated_at", 2016-12-13 11:51:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (18.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (17.9ms) BEGIN  (1.2ms) SAVEPOINT active_record_1  (4.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (27.1ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-14 11:53:53 UTC], ["updated_at", 2016-12-14 11:53:53 UTC]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-14 12:02:00 UTC], ["updated_at", 2016-12-14 12:02:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (23.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (15.3ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (12.8ms) BEGIN  (0.7ms) SAVEPOINT active_record_1  (3.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (29.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]  (6.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]  (13.4ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (26.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (3.1ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-16 16:00:14 +0100  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-16 16:00:14 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (13.5ms) UPDATE "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 [["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]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 35ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 139]]  (8.8ms) COMMIT  (6.6ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 78]]  (6.0ms) COMMIT  (0.5ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (7.0ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.6ms) INSERT 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" [["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]] SQL (12.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"67", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 67], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"68", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"69", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 69], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (17.8ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 75], ["LIMIT", 1]] Pwb::Content::Translation Load (1.7ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 75]] Pwb::ContentPhoto Load (0.4ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 76], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 76]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 77]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 78]] Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.8ms) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 80], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 80]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 81], ["LIMIT", 1]] Pwb::Content::Translation Load (0.6ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 81]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 82]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (1.4ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 70]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 70]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 71]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 71]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 79], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 81], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]] SQL (1.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.6ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (5.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (4.6ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.3ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/properties/72" for 127.0.0.1 at 2016-12-16 16:00:15 +0100  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"72"} Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 72], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 72]] Pwb::Prop::Translation Load (0.2ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 72]] Pwb::PropPhoto Load (0.9ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 72]] Completed 200 OK in 28ms (Views: 1.9ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/72" for 127.0.0.1 at 2016-12-16 16:00:15 +0100  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 73]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 73]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 72]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 72]]  (0.5ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 83]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (6.3ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-16 16:00:21 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 15:00:21 UTC], ["updated_at", 2016-12-16 15:00:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_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) Pwb::Section Load (0.9ms) SELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order [["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  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-16 15:00:21 UTC], ["updated_at", 2016-12-16 15:00:21 UTC]]  (2.5ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (13.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (10.9ms) BEGIN  (12.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (5.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (29.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:25:03 UTC], ["updated_at", 2016-12-16 19:25:03 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (6.9ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:25:03 UTC], ["updated_at", 2016-12-16 19:25:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:25:03 UTC], ["updated_at", 2016-12-16 19:25:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:26:25 UTC], ["updated_at", 2016-12-16 19:26:25 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:26:25 UTC], ["updated_at", 2016-12-16 19:26:25 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:26:31 UTC], ["updated_at", 2016-12-16 19:26:31 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:26:31 UTC], ["updated_at", 2016-12-16 19:26:31 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:26:37 UTC], ["updated_at", 2016-12-16 19:26:37 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:26:37 UTC], ["updated_at", 2016-12-16 19:26:37 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:27:44 UTC], ["updated_at", 2016-12-16 19:27:44 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:28:22 UTC], ["updated_at", 2016-12-16 19:28:22 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:29:12 UTC], ["updated_at", 2016-12-16 19:29:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:30:13 UTC], ["updated_at", 2016-12-16 19:30:13 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Completed 401 Unauthorized in 10ms (ActiveRecord: 0.0ms)  (1.1ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (6.8ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.2ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:30:51 UTC], ["updated_at", 2016-12-16 19:30:51 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Completed 401 Unauthorized in 10ms (ActiveRecord: 0.0ms)  (1.2ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (3.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (23.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 85], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 86], ["LIMIT", 1]] Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:40:35 UTC], ["updated_at", 2016-12-16 19:40:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 54ms (Views: 0.3ms | ActiveRecord: 5.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 87], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 88], ["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:40:35 UTC], ["updated_at", 2016-12-16 19:40:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 19ms (Views: 1.3ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:40:35 UTC], ["updated_at", 2016-12-16 19:40:35 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Completed 401 Unauthorized in 8ms (ActiveRecord: 0.0ms)  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (2.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 89], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 90], ["LIMIT", 1]] Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:40:45 UTC], ["updated_at", 2016-12-16 19:40:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 56ms (Views: 1.3ms | ActiveRecord: 5.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 91], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 92], ["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:40:45 UTC], ["updated_at", 2016-12-16 19:40:45 UTC]]  (4.5ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 14ms (Views: 0.3ms | ActiveRecord: 6.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:40:45 UTC], ["updated_at", 2016-12-16 19:40:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Completed 401 Unauthorized in 7ms (ActiveRecord: 0.0ms)  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 93], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (1.7ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 94], ["LIMIT", 1]] Pwb::Agency Load (3.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (3.1ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:43:17 UTC], ["updated_at", 2016-12-16 19:43:17 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 95], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 96], ["LIMIT", 1]] Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:43:30 UTC], ["updated_at", 2016-12-16 19:43:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 29ms (Views: 2.4ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:43:30 UTC], ["updated_at", 2016-12-16 19:43:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms)  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:43:38 UTC], ["updated_at", 2016-12-16 19:43:38 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Completed 401 Unauthorized in 12ms (ActiveRecord: 0.0ms)  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.8ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 97], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (1.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 98], ["LIMIT", 1]] Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:52:07 UTC], ["updated_at", 2016-12-16 19:52:07 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 106ms (Views: 6.7ms | ActiveRecord: 5.0ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (2.1ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 99], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 100], ["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:52:49 UTC], ["updated_at", 2016-12-16 19:52:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 12ms (Views: 0.3ms | ActiveRecord: 2.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 101], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:52:59 UTC], ["updated_at", 2016-12-16 19:52:59 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 102], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 15ms (Views: 1.4ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 103], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 104], ["LIMIT", 1]] Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:52:59 UTC], ["updated_at", 2016-12-16 19:52:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 10ms (Views: 0.2ms | ActiveRecord: 2.3ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 105], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:55:19 UTC], ["updated_at", 2016-12-16 19:55:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 106], ["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 107], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 108], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:55:19 UTC], ["updated_at", 2016-12-16 19:55:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 109], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 110], ["LIMIT", 1]] Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:55:39 UTC], ["updated_at", 2016-12-16 19:55:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 53ms (Views: 0.3ms | ActiveRecord: 5.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 111], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 19:55:39 UTC], ["updated_at", 2016-12-16 19:55:39 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 112], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 15ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (1.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.2ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (8.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.7ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 113], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 114], ["LIMIT", 1]] Pwb::Agency Load (1.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 20:03:46 UTC], ["updated_at", 2016-12-16 20:03:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 80ms (Views: 0.5ms | ActiveRecord: 8.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 115], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (2.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 20:03:46 UTC], ["updated_at", 2016-12-16 20:03:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 116], ["LIMIT", 1]] Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 19ms (Views: 2.2ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 117], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (3.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 20:03:53 UTC], ["updated_at", 2016-12-16 20:03:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 118], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 119], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 120], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 20:03:53 UTC], ["updated_at", 2016-12-16 20:03:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 121], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 20:04:00 UTC], ["updated_at", 2016-12-16 20:04:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 122], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 123], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 124], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 20:04:01 UTC], ["updated_at", 2016-12-16 20:04:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 125], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 20:04:32 UTC], ["updated_at", 2016-12-16 20:04:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 126], ["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 17ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 127], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 128], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 20:04:32 UTC], ["updated_at", 2016-12-16 20:04:32 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 129], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 130], ["LIMIT", 1]] Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 20:05:03 UTC], ["updated_at", 2016-12-16 20:05:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 53ms (Views: 0.3ms | ActiveRecord: 4.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.7ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 131], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-16 20:05:03 UTC], ["updated_at", 2016-12-16 20:05:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 132], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (19.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (11.6ms) BEGIN  (11.9ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.8ms) SAVEPOINT active_record_1 SQL (30.9ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:17:21 UTC], ["updated_at", 2016-12-21 10:17:21 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (15.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (2.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:17:21 UTC], ["updated_at", 2016-12-21 10:17:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:17:21 UTC], ["updated_at", 2016-12-21 10:17:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:18:27 UTC], ["updated_at", 2016-12-21 10:18:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:18:27 UTC], ["updated_at", 2016-12-21 10:18:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:18:27 UTC], ["updated_at", 2016-12-21 10:18:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (6.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:21:53 UTC], ["updated_at", 2016-12-21 10:21:53 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:21:53 UTC], ["updated_at", 2016-12-21 10:21:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]] Completed 406 Not Acceptable in 375ms (ActiveRecord: 14.2ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:21:53 UTC], ["updated_at", 2016-12-21 10:21:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]] Completed 406 Not Acceptable in 60ms (ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:22:00 UTC], ["updated_at", 2016-12-21 10:22:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:22:00 UTC], ["updated_at", 2016-12-21 10:22:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]] Completed 406 Not Acceptable in 414ms (ActiveRecord: 15.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:22:00 UTC], ["updated_at", 2016-12-21 10:22:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]] Completed 406 Not Acceptable in 67ms (ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:22:16 UTC], ["updated_at", 2016-12-21 10:22:16 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:22:16 UTC], ["updated_at", 2016-12-21 10:22:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:22:16 UTC], ["updated_at", 2016-12-21 10:22:16 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:23:43 UTC], ["updated_at", 2016-12-21 10:23:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:23:43 UTC], ["updated_at", 2016-12-21 10:23:43 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:23:43 UTC], ["updated_at", 2016-12-21 10:23:43 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:26:13 UTC], ["updated_at", 2016-12-21 10:26:13 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]] Completed 500 Internal Server Error in 188ms (ActiveRecord: 22.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:26:14 UTC], ["updated_at", 2016-12-21 10:26:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:26:14 UTC], ["updated_at", 2016-12-21 10:26:14 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]] Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:26:38 UTC], ["updated_at", 2016-12-21 10:26:38 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Content Load (0.8ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]] Completed 500 Internal Server Error in 537213ms (ActiveRecord: 24.5ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:35:35 UTC], ["updated_at", 2016-12-21 10:35:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (7.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:35:35 UTC], ["updated_at", 2016-12-21 10:35:35 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]] Completed 500 Internal Server Error in 4015ms (ActiveRecord: 9.5ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (1.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:35:47 UTC], ["updated_at", 2016-12-21 10:35:47 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:35:47 UTC], ["updated_at", 2016-12-21 10:35:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:35:47 UTC], ["updated_at", 2016-12-21 10:35:47 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:37:49 UTC], ["updated_at", 2016-12-21 10:37:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:37:49 UTC], ["updated_at", 2016-12-21 10:37:49 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]] Completed 500 Internal Server Error in 120ms (ActiveRecord: 13.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.1ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 10:37:49 UTC], ["updated_at", 2016-12-21 10:37:49 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["key", "aboutUs"], ["LIMIT", 1]] Completed 500 Internal Server Error in 14ms (ActiveRecord: 7.2ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (7.1ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (23.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (5.9ms) INSERT 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" [["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]] SQL (1.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"74", "url_friendly_title"=>"tt"} Pwb::Agency Load (7.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (1.2ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 74], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 74]] Completed 500 Internal Server Error in 104ms (ActiveRecord: 15.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"75", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (1.1ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"76", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 76], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 76]] Completed 500 Internal Server Error in 16ms (ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 12:39:59 UTC], ["updated_at", 2016-12-21 12:39:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (25.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (4.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-21 13:40:00 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (24.1ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 161ms (ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (8.7ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (8.9ms) INSERT 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" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/properties/77" for 127.0.0.1 at 2016-12-21 13:40:00 +0100  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"77"} Pwb::Prop Load (1.0ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 77], ["LIMIT", 1]] Pwb::Feature Load (0.5ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 77]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 77]] Pwb::PropPhoto Load (0.8ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 77]] Completed 200 OK in 40ms (Views: 2.5ms | ActiveRecord: 5.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/77" for 127.0.0.1 at 2016-12-21 13:40:00 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 78]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 78]]  (6.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 77]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 77]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 134]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 13:40:00 +0100  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 13:40:00 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 217]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 135]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 136], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 137], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 138], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 139], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 8ms (Views: 0.2ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]] SQL (1.3ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (1.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 79]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 79]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 80]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 80]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 140], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.2ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 142], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.2ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 143], ["LIMIT", 1]] Completed 500 Internal Server Error in 224ms (ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"81", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 81], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (1.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"82", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"83", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 83], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.2ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (6.2ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 12:45:08 UTC], ["updated_at", 2016-12-21 12:45:08 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:45:08 UTC], ["updated_at", 2016-12-21 12:45:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:45:09 UTC], ["updated_at", 2016-12-21 12:45:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (12.5ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"84", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 84], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"85", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 85], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"86", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.4ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SAVEPOINT active_record_1 SQL (32.1ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 15:07:18 UTC], ["updated_at", 2016-12-21 15:07:18 UTC]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (28.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:07:18 UTC], ["updated_at", 2016-12-21 15:07:18 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (1.1ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:07:19 UTC], ["updated_at", 2016-12-21 15:07:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (10.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (18.7ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"87", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:07:19 UTC], ["updated_at", 2016-12-21 15:07:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 87], ["LIMIT", 1]] Pwb::Prop::Translation Load (1.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"88", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:07:19 UTC], ["updated_at", 2016-12-21 15:07:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"89", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:07:20 UTC], ["updated_at", 2016-12-21 15:07:20 UTC]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 89], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:07:29 UTC], ["updated_at", 2016-12-21 15:07:29 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations" Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 15:07:29 UTC], ["updated_at", 2016-12-21 15:07:29 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (1.1ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (2.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:07:29 UTC], ["updated_at", 2016-12-21 15:07:29 UTC]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.7ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.0ms) INSERT 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" [["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]] SQL (1.0ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"90", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (1.1ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"91", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 91], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (1.0ms) ROLLBACK  (1.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"92", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 92], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.9ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 SQL (6.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 15:31:04 UTC], ["updated_at", 2016-12-21 15:31:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (1.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:31:04 UTC], ["updated_at", 2016-12-21 15:31:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:31:04 UTC], ["updated_at", 2016-12-21 15:31:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"93", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (7.1ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 93], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.5ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"94", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.8ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"95", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 95], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.9ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"96", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 96], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"97", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 97], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"98", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (13.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (6.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 144], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 145], ["LIMIT", 1]] Completed 500 Internal Server Error in 158ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 146], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (6.6ms) BEGIN Pwb::Prop Exists (15.2ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (27.7ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.2ms) COMMIT  (0.3ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.1ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/properties/99" for 127.0.0.1 at 2016-12-21 17:10:45 +0100  (6.1ms) SAVEPOINT active_record_1 SQL (12.1ms) UPDATE "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 [["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]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"99"} Pwb::Prop Load (1.1ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 99], ["LIMIT", 1]] Pwb::Feature Load (0.5ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 99]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 99]] Pwb::PropPhoto Load (6.9ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 99]] Completed 200 OK in 46ms (Views: 2.3ms | ActiveRecord: 12.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/99" for 127.0.0.1 at 2016-12-21 17:10:45 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 100]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 100]]  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 99]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 99]]  (6.0ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 148]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.6ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Pwb::User Exists (1.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 149], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (7.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (4.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 150], ["LIMIT", 1]] Completed 500 Internal Server Error in 152ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 151], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.1ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 101]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 101]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 102]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 102]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:10:46 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Completed 500 Internal Server Error in 100ms (ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 154], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 155], ["LIMIT", 1]] Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 15ms (Views: 0.5ms | ActiveRecord: 2.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (1.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 156], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 157], ["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 14ms (Views: 2.6ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]] SQL (0.9ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (6.3ms) COMMIT  (0.4ms) BEGIN Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (4.7ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:10:46 +0100  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:10:46 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 9ms (Views: 2.6ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 260]]  (5.5ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 158]]  (5.7ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (5.8ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"103", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 103], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"104", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:47 UTC], ["updated_at", 2016-12-21 16:10:47 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.6ms) ROLLBACK  (0.9ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"105", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:10:47 UTC], ["updated_at", 2016-12-21 16:10:47 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 105], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.6ms) INSERT 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" [["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]] SQL (0.9ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"106", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.6ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:02 UTC], ["updated_at", 2016-12-21 16:12:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"107", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:03 UTC], ["updated_at", 2016-12-21 16:12:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 107], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"108", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:03 UTC], ["updated_at", 2016-12-21 16:12:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (1.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.8ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 159], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 160], ["LIMIT", 1]] Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 20ms (Views: 1.6ms | ActiveRecord: 1.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (6.2ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 161], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.9ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 162], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 8ms (Views: 0.2ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.7ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) COMMIT  (0.3ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:12:21 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:12:21 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 271]]  (0.3ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 163]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (1.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"109", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 109], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (3.8ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"110", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (1.3ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 110], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"111", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (12.1ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 112]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 112]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 113]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 113]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]] SQL (1.0ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (2.0ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.6ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/properties/114" for 127.0.0.1 at 2016-12-21 17:12:22 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"114"} Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 114], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 114]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 114]] Pwb::PropPhoto Load (0.5ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 114]] Completed 200 OK in 33ms (Views: 2.0ms | ActiveRecord: 5.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/114" for 127.0.0.1 at 2016-12-21 17:12:22 +0100  (0.3ms) ROLLBACK  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 115]] SQL (0.6ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 115]]  (0.5ms) COMMIT  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 114]] SQL (3.2ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 114]]  (0.5ms) COMMIT  (2.1ms) BEGIN SQL (1.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 164]]  (6.0ms) COMMIT  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:12:22 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Completed 500 Internal Server Error in 97ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 166], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 167], ["LIMIT", 1]] Completed 500 Internal Server Error in 134ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.2ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 168], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 170], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 172], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (5.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.1ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:04 UTC], ["updated_at", 2016-12-21 16:15:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.9ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 174], ["LIMIT", 1]]  (3.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (5.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 175], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 14ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 176], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 177], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 9ms (Views: 0.2ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (1.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (2.4ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (11.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.6ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 116]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 116]]  (5.6ms) COMMIT  (0.2ms) BEGIN SQL (6.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 117]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 117]]  (6.1ms) COMMIT  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 178], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.2ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 180], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.2ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.9ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"118", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"119", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 119], ["LIMIT", 1]] Pwb::Prop::Translation Load (11.2ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"120", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 120], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]] SQL (1.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:15:06 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.7ms) ROLLBACK  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]  (1.9ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:15:06 +0100  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:15:06 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 289]]  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 183]]  (0.4ms) COMMIT  (0.3ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/properties/121" for 127.0.0.1 at 2016-12-21 17:15:06 +0100  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/api/v1/properties/121" for 127.0.0.1 at 2016-12-21 17:15:06 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"121"} Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 121], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 121]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 121]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 121]] Completed 200 OK in 39ms (Views: 2.2ms | ActiveRecord: 4.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 122]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 122]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 121]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 121]]  (0.4ms) COMMIT  (0.3ms) BEGIN SQL (0.8ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 184]]  (5.8ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:22:59 UTC], ["updated_at", 2016-12-21 16:22:59 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:23:00 UTC], ["updated_at", 2016-12-21 16:23:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:00 UTC], ["updated_at", 2016-12-21 16:23:00 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.2ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (7.1ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"123", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:00 UTC], ["updated_at", 2016-12-21 16:23:00 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 123], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.8ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"124", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"125", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 125], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.5ms) COMMIT  (0.4ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (6.1ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.2ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/properties/126" for 127.0.0.1 at 2016-12-21 17:23:01 +0100  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/126" for 127.0.0.1 at 2016-12-21 17:23:01 +0100  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"126"} Pwb::Prop Load (1.2ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 126], ["LIMIT", 1]] Pwb::Feature Load (0.3ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 126]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 126]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 126]] Completed 200 OK in 31ms (Views: 1.7ms | ActiveRecord: 4.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 127]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 127]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 126]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 126]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 185]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.5ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 128]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 128]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 129]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 129]]  (0.5ms) COMMIT  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (6.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 186], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 188], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:23:01 +0100  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 191], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 192], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.2ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 193], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 194], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:23:01 +0100  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:23:01 +0100  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 300]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 195]]  (0.4ms) COMMIT  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]] SQL (1.0ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:27:05 UTC], ["updated_at", 2016-12-21 16:27:05 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (1.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:05 UTC], ["updated_at", 2016-12-21 16:27:05 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:27:06 +0100  (0.4ms) SAVEPOINT active_record_1 SQL (7.7ms) UPDATE "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 [["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]]  (4.7ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 197], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 198], ["LIMIT", 1]] Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 19ms (Views: 0.2ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 199], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 200], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 24ms (Views: 2.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 163], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 163]] Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 164], ["LIMIT", 1]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 164]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 165]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 168], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 168]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 169], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 169]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 170]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.1ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (2.6ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 130]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 130]]  (0.6ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 131]] SQL (0.5ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 131]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (1.2ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]] SQL (1.1ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 201], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 203], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"132", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 132], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.8ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"133", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.8ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.9ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"134", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 134], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.2ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC]]  (6.2ms) COMMIT  (0.1ms) BEGIN Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.1ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:27:08 +0100  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:27:08 +0100  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 311]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 205]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.7ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/properties/135" for 127.0.0.1 at 2016-12-21 17:27:08 +0100  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"135"} Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 135], ["LIMIT", 1]] Pwb::Feature Load (0.3ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 135]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 135]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 135]] Completed 200 OK in 28ms (Views: 1.8ms | ActiveRecord: 4.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/api/v1/properties/135" for 127.0.0.1 at 2016-12-21 17:27:08 +0100  (0.2ms) ROLLBACK  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 136]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 136]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 135]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 135]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 206]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (21.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:27:58 UTC], ["updated_at", 2016-12-21 16:27:58 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/contact_us.html.erb  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations" 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)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (6.9ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (3.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"137", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 137], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"138", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"139", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 139], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.8ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (19.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 207], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 208], ["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 10ms (Views: 0.2ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (1.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 209], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 210], ["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 10ms (Views: 2.2ms | ActiveRecord: 1.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.1ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (1.3ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (1.3ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/properties/140" for 127.0.0.1 at 2016-12-21 17:28:09 +0100  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"140"} Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 140], ["LIMIT", 1]] Pwb::Feature Load (0.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 140]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 140]] Pwb::PropPhoto Load (0.6ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 140]] Completed 200 OK in 45ms (Views: 3.6ms | ActiveRecord: 5.2ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/140" for 127.0.0.1 at 2016-12-21 17:28:09 +0100  (0.9ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 141]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 141]]  (5.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 140]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 140]]  (7.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 211]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:28:09 +0100  (0.3ms) ROLLBACK  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:28:09 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 319]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 212]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.4ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 213], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.2ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 215], ["LIMIT", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.2ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (6.0ms) COMMIT  (0.3ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.3ms) BEGIN Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 142]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 142]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 143]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 143]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:28:10 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 176], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 176]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 177], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 177]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 178]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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) Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 181], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 181]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 182], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 182]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 183]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (7.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:30:51 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (6.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (10.6ms) BEGIN  (5.6ms) SAVEPOINT active_record_1 Pwb::User Exists (19.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (3.8ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:13:35 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (5.9ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (2.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (3.8ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 17:15:34 UTC], ["updated_at", 2016-12-21 17:15:34 UTC]]  (12.5ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (5.8ms) COMMIT  (0.1ms) BEGIN Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:15:35 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (6.9ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.6ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (18.9ms) INSERT 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" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"144", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 144], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.7ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"145", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 145], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"146", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.3ms) ROLLBACK  (2.3ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Content Load (2.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.2ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 221], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 223], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 225], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies"  (11.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 227], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 228], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.6ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 187], ["LIMIT", 1]] Pwb::Content::Translation Load (2.9ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 187]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 188], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 188]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 189]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 192], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 192]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 193], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 193]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 194]] Pwb::Content::Translation Load (1.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]] SQL (0.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.3ms) BEGIN Pwb::Prop Exists (1.3ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (0.7ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.9ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 148]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 148]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 147]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 147]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (5.7ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.6ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 149]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 149]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 150]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 150]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK Pwb::User Load (2.4ms) SELECT "pwb_users".* FROM "pwb_users"  (0.3ms) BEGIN SQL (0.7ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 220]]  (23.6ms) COMMIT ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK Pwb::User Load (0.8ms) SELECT "pwb_users".* FROM "pwb_users" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies"  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 324]]  (18.2ms) COMMIT  (0.2ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 17:47:02 UTC], ["updated_at", 2016-12-21 17:47:02 UTC]]  (5.8ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (6.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.3ms) COMMIT  (0.2ms) BEGIN Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:47:02 +0100  (0.3ms) SAVEPOINT active_record_1 SQL (6.7ms) UPDATE "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 [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1 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  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.8ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.0ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Pwb::Agency Load (0.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 325]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 17:47:53 UTC], ["updated_at", 2016-12-21 17:47:53 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (1.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]]  (0.9ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.7ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.5ms) SELECT 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.%') [["locale", "en"]]  (0.5ms) SELECT 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.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%') [["locale", "en"]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN Pwb::Agency Load (6.8ms) SELECT "pwb_agencies".* FROM "pwb_agencies"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 325]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Agency Load (0.5ms) SELECT "pwb_agencies".* FROM "pwb_agencies"  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 17:48:55 UTC], ["updated_at", 2016-12-21 17:48:55 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Pwb::User Exists (1.0ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]]  (0.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT 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.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%') [["locale", "en"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Pwb::Agency Load (0.9ms) SELECT "pwb_agencies".* FROM "pwb_agencies"  (0.2ms) BEGIN SQL (0.5ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 325]]  (13.0ms) COMMIT  (0.7ms) SELECT COUNT(*) FROM "pwb_users" Pwb::User Load (0.7ms) SELECT "pwb_users".* FROM "pwb_users"  (0.4ms) BEGIN SQL (0.6ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 229]]  (1.9ms) COMMIT  (0.2ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 17:50:34 UTC], ["updated_at", 2016-12-21 17:50:34 UTC]]  (6.0ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.7ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.1ms) COMMIT  (0.1ms) BEGIN Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:50:34 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 328]]  (9.2ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 230]]  (6.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 17:50:48 UTC], ["updated_at", 2016-12-21 17:50:48 UTC]]  (5.6ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (1.2ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (6.9ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.1ms) COMMIT  (0.2ms) BEGIN Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:50:49 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.6ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 329]]  (8.2ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 231]]  (6.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 18:00:30 UTC], ["updated_at", 2016-12-21 18:00:30 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (1.1ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 18:07:20 UTC], ["updated_at", 2016-12-21 18:07:20 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 18:08:03 UTC], ["updated_at", 2016-12-21 18:08:03 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 18:10:51 UTC], ["updated_at", 2016-12-21 18:10:51 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (6.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 18:12:03 UTC], ["updated_at", 2016-12-21 18:12:03 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (12.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (12.2ms) BEGIN  (0.7ms) SAVEPOINT active_record_1 SQL (25.9ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (2.9ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (2.6ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]  (13.6ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (1.2ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (6.3ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 20:28:56 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (6.6ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.7ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 20:28:56 +0100  (0.9ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.3ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 336]]  (6.0ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 232]]  (6.1ms) COMMIT  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.6ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 233], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 235], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (8.9ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (6.8ms) INSERT 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" [["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]] SQL (7.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (5.1ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.3ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.1ms) BEGIN Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.4ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/properties/151" for 127.0.0.1 at 2016-12-21 20:28:56 +0100  (0.2ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/151" for 127.0.0.1 at 2016-12-21 20:28:56 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"151"} Pwb::Prop Load (0.9ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 151], ["LIMIT", 1]] Pwb::Feature Load (0.6ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 151]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 151]] Pwb::PropPhoto Load (0.7ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 151]] Completed 200 OK in 40ms (Views: 2.2ms | ActiveRecord: 4.8ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 152]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 152]]  (6.1ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 151]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 151]]  (0.3ms) COMMIT  (0.5ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 237]]  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 153]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 153]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 154]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 154]]  (0.3ms) COMMIT  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC]] SQL (0.6ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (3.0ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"155", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (1.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (1.0ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.5ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.8ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"156", "url_friendly_title"=>"tt"} Pwb::Agency Load (1.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (1.0ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 156], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.4ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (1.0ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"157", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 157], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (2.1ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (11.1ms) COMMIT  (0.2ms) BEGIN Started GET "/admin" for 127.0.0.1 at 2016-12-21 20:29:19 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 341]]  (10.7ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 238]]  (10.1ms) COMMIT  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.5ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 239], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (3.2ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 240], ["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 241], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 242], ["LIMIT", 1]] Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.3ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 8ms (Views: 0.2ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.4ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 200], ["LIMIT", 1]] Pwb::Content::Translation Load (0.5ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 200]] Pwb::ContentPhoto Load (0.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 201], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 201]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 202]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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) Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 205], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 205]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 206], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 206]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 207]] Pwb::Content::Translation Load (0.4ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (6.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (1.2ms) SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (28.0ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-22 08:41:14 UTC], ["updated_at", 2016-12-22 08:41:14 UTC]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-22 08:43:25 UTC], ["updated_at", 2016-12-22 08:43:25 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (7.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-22 08:53:06 UTC], ["updated_at", 2016-12-22 08:53:06 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-22 08:53:34 UTC], ["updated_at", 2016-12-22 08:53:34 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.9ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-22 08:54:04 UTC], ["updated_at", 2016-12-22 08:54:04 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.7ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-22 08:54:45 UTC], ["updated_at", 2016-12-22 08:54:45 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (19.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (237.0ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (356.9ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (22.8ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (48.5ms) CREATE 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)  (28.1ms) CREATE 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)  (2.9ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.9ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (7.9ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.4ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.6ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (5.1ms) CREATE 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)  (24.5ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.9ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (4.8ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (7.1ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.2ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (7.1ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (6.1ms) CREATE 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)  (3.6ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.0ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (30.1ms) CREATE 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)  (1.8ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.7ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.7ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (3.0ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (16.8ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.6ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.6ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.7ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (5.5ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (5.9ms) CREATE 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)  (12.6ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (39.6ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.7ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (27.9ms) CREATE 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)  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (4.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-22 08:59:30 UTC], ["updated_at", 2016-12-22 08:59:30 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (11.8ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (28.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (6.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_clients' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_features' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_field_keys' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_messages' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_sections' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (249.3ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (392.6ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (4.8ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (44.7ms) CREATE 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)  (42.2ms) CREATE 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)  (2.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.9ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (10.7ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (2.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.8ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (9.0ms) CREATE 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)  (1.8ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (4.9ms) CREATE 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)  (2.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.9ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (7.2ms) CREATE 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)  (4.6ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (5.3ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.5ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (5.4ms) CREATE 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)  (1.8ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (5.0ms) CREATE 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)  (6.4ms) CREATE 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)  (2.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.9ms) CREATE 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 '')  (2.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (2.1ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (23.2ms) CREATE 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)  (2.3ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.7ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (5.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.4ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.7ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.2ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (3.5ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.8ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (11.2ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (2.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.6ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (5.4ms) CREATE 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)  (2.0ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (7.2ms) CREATE 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)  (2.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (2.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.5ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (8.8ms) CREATE 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)  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (6.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-22 10:22:59 UTC], ["updated_at", 2016-12-22 10:22:59 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.6ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (13.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (23.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (348.2ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (1575.3ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (1.1ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (13.1ms) CREATE 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)  (29.3ms) CREATE 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)  (2.7ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (7.9ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.9ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (6.5ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (6.0ms) CREATE 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)  (1.9ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.3ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.3ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (5.3ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.0ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (5.5ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (8.2ms) CREATE 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)  (5.3ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.2ms) CREATE 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 '')  (1.2ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (17.8ms) CREATE 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)  (2.1ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.7ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.5ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (2.1ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (17.2ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (2.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (2.1ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (17.5ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (3.6ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.0ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.2ms) CREATE 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)  (2.3ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (6.4ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (4.2ms) CREATE 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)  (3.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 01:22:02 UTC], ["updated_at", 2016-12-23 01:22:02 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (136.8ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (350.0ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (9.4ms) CREATE 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)  (28.2ms) CREATE 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)  (1.9ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.3ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.8ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.2ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (4.3ms) CREATE 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)  (2.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.5ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (26.2ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (4.8ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (17.8ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.9ms) CREATE 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)  (6.6ms) CREATE 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)  (1.5ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (24.1ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (41.6ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (2.4ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.7ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (13.0ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (11.5ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (12.7ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (39.7ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (2.6ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (12.5ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (44.3ms) CREATE 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)  (3.1ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (6.0ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (22.9ms) CREATE 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)  (4.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.7ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (50.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 01:24:03 UTC], ["updated_at", 2016-12-23 01:24:03 UTC]]  (6.1ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (162.1ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (566.2ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (29.5ms) CREATE 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)  (29.1ms) CREATE 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)  (5.9ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (12.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (12.5ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (18.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (12.4ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (10.1ms) CREATE 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)  (1.7ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (26.2ms) CREATE 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)  (12.4ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (39.5ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (21.7ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (5.5ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (13.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (9.8ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (26.7ms) CREATE 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)  (53.4ms) CREATE 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)  (1.5ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (28.2ms) CREATE 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 '')  (1.5ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (17.4ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (40.9ms) CREATE 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)  (2.6ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (13.6ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (17.8ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (12.2ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (12.4ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (18.4ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (17.7ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (12.7ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (39.8ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.6ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (12.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (44.1ms) CREATE 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)  (4.1ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (44.6ms) CREATE 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)  (3.7ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (22.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (57.6ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (44.6ms) CREATE 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)  (21.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (33.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (7.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (17.6ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 01:51:16 UTC], ["updated_at", 2016-12-23 01:51:16 UTC]]  (2.7ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (7.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (160.9ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (397.1ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (2.8ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (13.9ms) CREATE 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)  (30.7ms) CREATE 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)  (2.1ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.2ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.2ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.1ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (3.9ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.6ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.0ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.0ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (4.0ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.5ms) CREATE 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)  (4.8ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (7.2ms) CREATE 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 '')  (12.6ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (12.1ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (12.7ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (2.3ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (0.9ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.7ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.7ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.6ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (5.0ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (0.9ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (3.5ms) CREATE 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)  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (1.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 20:32:08 UTC], ["updated_at", 2016-12-23 20:32:08 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (134.9ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (632.9ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (23.6ms) CREATE 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)  (27.7ms) CREATE 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)  (39.6ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (2.3ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (26.6ms) CREATE 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)  (7.6ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (18.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (12.8ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (44.2ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (56.8ms) CREATE 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)  (4.8ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (12.6ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (15.0ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (23.2ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.3ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (26.0ms) CREATE 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)  (13.2ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (41.9ms) CREATE 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)  (11.2ms) CREATE 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)  (12.7ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (28.4ms) CREATE 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 '')  (12.5ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (6.4ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (21.0ms) CREATE 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)  (1.7ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (13.0ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (39.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (2.3ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (13.0ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (11.3ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (2.2ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (13.2ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (12.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (12.8ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (39.4ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (6.2ms) CREATE 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)  (17.9ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (29.0ms) CREATE 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)  (12.8ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (39.6ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (2.5ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (21.9ms) CREATE 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)  (84.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.8ms) SELECT version FROM "schema_migrations"  (5.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (4.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 20:33:58 UTC], ["updated_at", 2016-12-23 20:33:58 UTC]]  (5.9ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (164.4ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (463.8ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (16.4ms) CREATE 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)  (26.6ms) CREATE 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)  (2.0ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.4ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (6.8ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.2ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.3ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (5.9ms) CREATE 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)  (1.5ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (3.4ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.7ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (5.9ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (4.2ms) CREATE 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)  (3.6ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (3.3ms) CREATE 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 '')  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (14.0ms) CREATE 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)  (1.9ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.2ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.4ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.1ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.3ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.3ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (6.7ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (3.9ms) CREATE 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)  (1.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (4.5ms) CREATE 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)  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.4ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (2.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 21:12:15 UTC], ["updated_at", 2016-12-23 21:12:15 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (165.7ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (358.1ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (7.0ms) CREATE 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)  (22.3ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (4.4ms) CREATE 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)  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.3ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (5.0ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (5.2ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.4ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (5.0ms) CREATE 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)  (1.8ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (4.0ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (5.9ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (3.2ms) CREATE 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)  (5.5ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (5.4ms) CREATE 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 '')  (18.8ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (8.6ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.6ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (1.2ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.6ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.1ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.2ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (1.4ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.0ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (4.7ms) CREATE 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)  (2.2ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (4.8ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.2ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (3.9ms) CREATE 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)  (3.2ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.9ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (26.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 21:46:57 UTC], ["updated_at", 2016-12-23 21:46:57 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (313.9ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (408.0ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (9.3ms) CREATE 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)  (21.8ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (3.6ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (1.0ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.4ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (3.8ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (4.3ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (0.9ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (49.2ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (3.6ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (35.7ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (28.4ms) CREATE 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)  (3.7ms) CREATE 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)  (1.4ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (3.4ms) CREATE 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 '')  (1.1ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (10.2ms) CREATE 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)  (3.2ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (1.4ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.6ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (29.6ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (12.9ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (12.6ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (1.6ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (18.4ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (5.9ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (18.2ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (6.7ms) CREATE 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)  (2.5ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (47.1ms) CREATE 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)  (1.4ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (19.0ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (4.6ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (33.9ms) CREATE 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)  (40.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.7ms) SELECT version FROM "schema_migrations"  (12.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (5.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (1.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 22:10:29 UTC], ["updated_at", 2016-12-23 22:10:29 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (144.1ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (458.7ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (17.4ms) CREATE 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)  (22.6ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")  (1.1ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")  (7.4ms) CREATE 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)  (12.5ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")  (2.8ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")  (1.1ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")  (6.6ms) CREATE 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)  (1.5ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")  (5.4ms) CREATE 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)  (1.1ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")  (1.0ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")  (6.5ms) CREATE 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)  (1.7ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")  (30.2ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.1ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")  (3.6ms) CREATE 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)  (1.5ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")  (6.8ms) CREATE 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)  (5.2ms) CREATE 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)  (1.2ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")  (4.1ms) CREATE 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 '')  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")  (1.4ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")  (13.0ms) CREATE 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)  (1.3ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")  (2.4ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")  (1.4ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")  (2.0ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")  (1.7ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")  (1.3ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")  (7.7ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")  (13.8ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")  (2.5ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")  (23.1ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")  (1.7ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")  (3.5ms) CREATE 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)  (1.6ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")  (4.6ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")  (1.1ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")  (31.7ms) CREATE 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)  (13.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161205223003')  (4.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 22:12:36 UTC], ["updated_at", 2016-12-23 22:12:36 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (12.6ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (0.2ms) BEGIN  (30.1ms) CREATE 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)  (0.2ms) ROLLBACK  (0.6ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (144.2ms) DROP DATABASE IF EXISTS "pwb_dummy_test"  (365.8ms) CREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'  (55.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (25.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.8ms) SELECT pg_try_advisory_lock(4396650945632054235); ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePwbContents (20161107210046)  (12.1ms) BEGIN  (31.0ms) CREATE 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)  (7.8ms) CREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key") SQL (7.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161107210046"]]  (6.7ms) COMMIT Migrating to TranslateContents (20161108132035)  (15.3ms) BEGIN  (5.0ms) CREATE 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)  (0.9ms) ALTER TABLE "pwb_content_translations" ADD "raw" text Pwb::Content Load (2.3ms) SELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (7.2ms) CREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")  (6.8ms) CREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale") SQL (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161108132035"]]  (0.5ms) COMMIT Migrating to CreatePwbContentPhotos (20161116185442)  (6.1ms) BEGIN  (20.5ms) CREATE 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)  (6.7ms) CREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161116185442"]]  (11.2ms) COMMIT Migrating to CreatePwbAgencies (20161118222543)  (6.0ms) BEGIN  (35.6ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")  (0.8ms) CREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161118222543"]]  (0.5ms) COMMIT Migrating to CreatePwbProps (20161120103546)  (6.2ms) BEGIN  (23.5ms) CREATE 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)  (1.0ms) CREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")  (2.0ms) CREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")  (1.9ms) CREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")  (7.0ms) CREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")  (12.7ms) CREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")  (0.9ms) CREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")  (0.8ms) CREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")  (0.9ms) CREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")  (1.3ms) CREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")  (1.1ms) CREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120103546"]]  (1.0ms) COMMIT Migrating to TranslateProps (20161120122914)  (5.7ms) BEGIN  (6.0ms) CREATE 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)  (10.3ms) ALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''  (10.5ms) ALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT '' Pwb::Prop Load (1.5ms) SELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1 [["LIMIT", 1000]]  (4.5ms) CREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")  (1.0ms) CREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161120122914"]]  (1.4ms) COMMIT Migrating to CreatePwbSections (20161122174847)  (15.1ms) BEGIN  (15.8ms) CREATE 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)  (1.3ms) CREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161122174847"]]  (0.5ms) COMMIT Migrating to CreatePwbTranslations (20161123124639)  (6.0ms) BEGIN  (31.1ms) CREATE 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) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123124639"]]  (5.2ms) COMMIT Migrating to CreatePwbFieldKeys (20161123232423)  (15.9ms) BEGIN  (22.9ms) CREATE 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)  (6.3ms) CREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161123232423"]]  (0.5ms) COMMIT Migrating to CreatePwbPropPhotos (20161124103103)  (12.0ms) BEGIN  (29.0ms) CREATE 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)  (5.5ms) CREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124103103"]]  (0.4ms) COMMIT Migrating to CreatePwbAddresses (20161124214746)  (6.1ms) BEGIN  (16.7ms) CREATE 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161124214746"]]  (5.9ms) COMMIT Migrating to CreatePwbMessages (20161128200709)  (15.5ms) BEGIN  (8.7ms) CREATE 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) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161128200709"]]  (12.3ms) COMMIT Migrating to CreatePwbClients (20161128221919)  (5.9ms) BEGIN  (18.2ms) CREATE 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)  (1.1ms) CREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" ("documentation_id")  (1.0ms) CREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" ("first_names", "last_names")  (0.8ms) CREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" ("email") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161128221919"]]  (0.4ms) COMMIT Migrating to CreatePwbFeatures (20161130141845)  (6.1ms) BEGIN  (20.3ms) CREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.9ms) CREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" ("feature_key") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161130141845"]]  (0.5ms) COMMIT Migrating to DeviseCreatePwbUsers (20161205223003)  (12.0ms) BEGIN  (27.2ms) CREATE 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)  (5.7ms) CREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" ("email")  (1.4ms) CREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" ("reset_password_token")  (1.3ms) CREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" ("confirmation_token") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161205223003"]]  (0.4ms) COMMIT Migrating to AddThemeNameToPwbAgency (20161222085708)  (11.6ms) BEGIN  (0.4ms) ALTER TABLE "pwb_agencies" ADD "theme_name" character varying SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20161222085708"]]  (5.6ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-12-24 09:40:51 UTC], ["updated_at", 2016-12-24 09:40:51 UTC]]  (6.1ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(4396650945632054235) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_agencies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_clients' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_content_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_contents' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_features' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_field_keys' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_messages' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_photos' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_prop_translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_props' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_sections' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pwb_users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'translations' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (8.5ms) SELECT DISTINCT "translations"."locale" FROM "translations"  (0.2ms) BEGIN  (11.9ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (31.6ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (3.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.7ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (2.6ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (3.1ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 2], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 3], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 4], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 11ms (Views: 0.3ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2 [["tag", "property-states"], ["visible", true]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%') [["locale", "en"]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (7.2ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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)  (1.0ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%') [["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)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC]]  (12.0ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.3ms) COMMIT  (0.1ms) BEGIN Started GET "/admin" for 127.0.0.1 at 2016-12-24 10:47:40 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (12.7ms) UPDATE "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 [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 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  (0.6ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%') [["locale", "en"]]  (0.8ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%') [["locale", "en"]]  (0.5ms) SELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%') [["locale", "en"]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 4]]  (9.3ms) COMMIT  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 5]]  (5.9ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (3.8ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref2bbed"], ["LIMIT", 1]] SQL (25.8ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (2.5ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref5bbed"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::Prop Load (0.6ms) SELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 1]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 1]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 2]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 2]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pfltr"], ["LIMIT", 1]] SQL (0.5ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.4ms) COMMIT  (0.2ms) BEGIN Pwb::Prop Exists (0.6ms) SELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2 [["reference", "ref_pf"], ["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.3ms) COMMIT  (0.1ms) BEGIN Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.3ms) COMMIT  (0.2ms) BEGIN Started GET "/api/v1/properties/3" for 127.0.0.1 at 2016-12-24 10:47:40 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::PropertiesController#show as HTML Parameters: {"id"=>"3"} Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2 [["id", 3], ["LIMIT", 1]] Pwb::Feature Load (7.4ms) SELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1 [["prop_id", 3]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["pwb_prop_id", 3]] Pwb::PropPhoto Load (7.9ms) SELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc [["prop_id", 3]] Completed 200 OK in 48ms (Views: 2.1ms | ActiveRecord: 19.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/properties/3" for 127.0.0.1 at 2016-12-24 10:47:40 +0100  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 4]] SQL (0.4ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 4]]  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1 [["id", 3]] SQL (0.3ms) DELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1 [["id", 3]]  (0.3ms) COMMIT  (0.1ms) BEGIN SQL (0.3ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 6]]  (0.3ms) COMMIT  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]] SQL (3.4ms) INSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (13.5ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 3], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 3]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 4], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 4]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 5]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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) Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["key", "aboutUs"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 8], ["LIMIT", 1]] Pwb::Content::Translation Load (0.3ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 8]] Pwb::ContentPhoto Load (0.3ms) SELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2 [["content_id", 9], ["LIMIT", 1]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 9]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["pwb_content_id", 10]] Pwb::Content::Translation Load (0.2ms) SELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "test"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.4ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 7], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.4ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.3ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 9], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::AdminPanelController#show as HTML Pwb::User Load (0.2ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["company_name", "my re"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.3ms) COMMIT  (0.2ms) BEGIN Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "user@example.org"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.3ms) COMMIT  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-24 10:47:41 +0100  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "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 [["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]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] CACHE (0.0ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-24 10:47:41 +0100  (0.2ms) ROLLBACK  (0.1ms) BEGIN SQL (3.5ms) DELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1 [["id", 7]]  (6.1ms) COMMIT  (0.2ms) BEGIN SQL (0.4ms) DELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1 [["id", 11]]  (6.1ms) COMMIT  (0.2ms) BEGIN Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["tag", "landing-carousel"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::WelcomeController#index as HTML Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2 [["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) Pwb::Content Load (0.3ms) SELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 [["tag", "landing-carousel"]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"5", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Prop Load (0.5ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.5ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]] SQL (0.4ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_sale as HTML Parameters: {"id"=>"6", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Prop Load (0.7ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::Prop Exists (0.4ms) SELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1 [["LIMIT", 1]] SQL (0.6ms) INSERT 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" [["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]] SQL (0.7ms) INSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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 "]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::PropsController#show_for_rent as HTML Parameters: {"id"=>"7", "url_friendly_title"=>"tt"} Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.4ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.2ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Prop Load (0.4ms) SELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] Pwb::Prop::Translation Load (0.3ms) SELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1 [["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)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (18.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.2ms) BEGIN  (6.3ms) SAVEPOINT active_record_1 Pwb::User Exists (24.1ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (12.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 12], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Pwb::User Exists (0.3ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "admin@pwb.com"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (1.7ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.6ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 23:24:27 UTC], ["updated_at", 2016-12-24 23:24:27 UTC]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 13], ["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Pwb::Agency Load (0.3ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]] Completed 200 OK in 21ms (Views: 1.5ms | ActiveRecord: 1.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 14], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Pwb::User Exists (0.5ms) SELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2 [["email", "non_admin@pwb.com"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["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]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Processing by Pwb::Api::V1::AgencyController#show as HTML Pwb::User Load (0.5ms) SELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2 [["id", 15], ["LIMIT", 1]] Pwb::Agency Load (0.4ms) SELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "pwb_agencies" SQL (0.5ms) INSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", 2016-12-24 23:24:27 UTC], ["updated_at", 2016-12-24 23:24:27 UTC]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Filter chain halted as :check_user rendered or redirected Completed 422 Unprocessable Entity in 12ms (Views: 0.3ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK