(19.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (5.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePushTypeUsers (20150429164551)  (0.1ms) BEGIN SQL (2.6ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (3.1ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150429164551"]]  (6.3ms) COMMIT Migrating to CreatePushTypeNodes (20150429164552)  (0.1ms) BEGIN  (13.7ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150429164552"]]  (0.5ms) COMMIT Migrating to CreatePushTypeNodeHierarchies (20150429164553)  (0.1ms) BEGIN  (0.5ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")  (0.6ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150429164553"]]  (0.3ms) COMMIT Migrating to CreatePushTypeAssets (20150429164554)  (0.1ms) BEGIN  (3.2ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150429164554"]]  (0.3ms) COMMIT Migrating to CreatePushTypeTaxonomies (20150429164555)  (0.1ms) BEGIN  (2.0ms) CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.6ms) ALTER TABLE "push_type_assets" ADD "tags" character varying[] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150429164555"]]  (0.4ms) COMMIT Migrating to CreatePushTypeTaxonomyHierarchies (20150429164556)  (0.1ms) BEGIN  (0.4ms) CREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")  (0.6ms) CREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150429164556"]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.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 = 'push_type_assets' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.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 = 'push_type_node_hierarchies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.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 = 'push_type_nodes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.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 = 'push_type_taxonomies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.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 = 'push_type_taxonomy_hierarchies' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.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 = 'push_type_users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (1.0ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))   (1.1ms) select table_name from information_schema.views where table_schema = 'dummy_test'  (31.6ms) TRUNCATE TABLE "public"."schema_migrations", "public"."push_type_users", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------------------------------------- .published::with published_to dates in the past: test_0001_anonymous --------------------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:56.198514') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:56.200066')  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.3ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-1' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.7ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "published_to", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-1"], ["published_at", "2015-04-27 16:45:56.201423"], ["published_to", "2015-04-28 16:45:56.202534"], ["created_at", "2015-04-29 16:45:56.221294"], ["updated_at", "2015-04-29 16:45:56.221294"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t9ba48d6a5f39c813098ef761d5cd9cda SQL (0.3ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "9334c038-8d59-424a-98b7-5192a1b1d0a0"], ["descendant_id", "9334c038-8d59-424a-98b7-5192a1b1d0a0"], ["generations", 0]]  (0.5ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "9334c038-8d59-424a-98b7-5192a1b1d0a0"]] PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "9334c038-8d59-424a-98b7-5192a1b1d0a0"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t2d4de694a99007d70776d60ac7b3a428  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:56.198514') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:56.200066')  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.2ms) DELETE FROM "public"."schema_migrations";  (0.2ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.2ms) DELETE FROM "public"."push_type_taxonomies";  (0.2ms) DELETE FROM "public"."push_type_assets";  (0.2ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------- PushType::Taxonomy::.base_slug::setting the base_slug: test_0001_anonymous --------------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------- PushType::Asset::#preview_thumb: test_0001_anonymous ----------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "1"], ["created_at", "2015-04-29 16:45:56.268021"], ["updated_at", "2015-04-29 16:45:56.268021"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 DRAGONFLY: shell command: 'identify' '-ping' '-format' '%m %w %h' '/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9669-1w02bco'  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------------------------------- PushType::Asset::#preview_thumb: test_0002_anonymous ----------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "2"], ["created_at", "2015-04-29 16:45:56.357880"], ["updated_at", "2015-04-29 16:45:56.357880"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ----------------------------------------------------------------------- PushType::Asset::#media::with a non existing style: test_0001_anonymous -----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "3"], ["created_at", "2015-04-29 16:45:56.364353"], ["updated_at", "2015-04-29 16:45:56.364353"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------------------- PushType::Asset::#media::with a non existing style: test_0003_anonymous -----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "4"], ["created_at", "2015-04-29 16:45:56.370243"], ["updated_at", "2015-04-29 16:45:56.370243"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------------------- PushType::Asset::#media::with a non existing style: test_0002_anonymous -----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "5"], ["created_at", "2015-04-29 16:45:56.375883"], ["updated_at", "2015-04-29 16:45:56.375883"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ----------------------------------------------- PushType::InstallGenerator: test_0001_anonymous -----------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------- PushType::InstallGenerator: test_0002_anonymous -----------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------------ PushType::TaxonomyGenerator: test_0001_anonymous ------------------------------------------------  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.2ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PushType::TaxonomyGenerator: test_0002_anonymous ------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------- .published::with published_at dates in the future: test_0001_anonymous ----------------------------------------------------------------------  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:58.647523') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:58.647750')  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-2' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-2"], ["published_at", "2015-04-30 16:45:58.648707"], ["created_at", "2015-04-29 16:45:58.650907"], ["updated_at", "2015-04-29 16:45:58.650907"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t37f38da44f2138863474781e8e9a03e7 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "95c45d3d-d223-4857-ba85-70f572c7a0f4"], ["descendant_id", "95c45d3d-d223-4857-ba85-70f572c7a0f4"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "95c45d3d-d223-4857-ba85-70f572c7a0f4"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "95c45d3d-d223-4857-ba85-70f572c7a0f4"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t48d44a6254d195738f37d359ba08e175  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:58.647523') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:58.647750')  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-3' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-3"], ["status", 0], ["created_at", "2015-04-29 16:45:58.670563"], ["updated_at", "2015-04-29 16:45:58.670563"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t7eb78bde54199495c303377fa343d5ce SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "da7acaa8-fd31-42e6-8a29-c43c88d1a131"], ["descendant_id", "da7acaa8-fd31-42e6-8a29-c43c88d1a131"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "da7acaa8-fd31-42e6-8a29-c43c88d1a131"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "da7acaa8-fd31-42e6-8a29-c43c88d1a131"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tad2ba87f8ae52b3a43cea3202aac377e  (0.6ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-4' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-4"], ["status", 0], ["created_at", "2015-04-29 16:45:58.707122"], ["updated_at", "2015-04-29 16:45:58.707122"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t91f7ae8b2911623f5a80bbd01068bb75 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "c20451a3-7a79-4aa6-8240-595fec9c5670"], ["descendant_id", "c20451a3-7a79-4aa6-8240-595fec9c5670"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "c20451a3-7a79-4aa6-8240-595fec9c5670"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "c20451a3-7a79-4aa6-8240-595fec9c5670"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tcce7b39041ff962e82c4ce77eef3cb22  (0.5ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-5' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-5"], ["status", 0], ["created_at", "2015-04-29 16:45:58.714463"], ["updated_at", "2015-04-29 16:45:58.714463"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t880d7ecdca8f65b22ce9de414e797e71 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "fb0d2891-36d7-4461-96cb-3f7496a98f51"], ["descendant_id", "fb0d2891-36d7-4461-96cb-3f7496a98f51"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "fb0d2891-36d7-4461-96cb-3f7496a98f51"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "fb0d2891-36d7-4461-96cb-3f7496a98f51"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tf53d80d65412967e67e53bb94489631f  (0.5ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-6' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-6"], ["status", 0], ["created_at", "2015-04-29 16:45:58.721777"], ["updated_at", "2015-04-29 16:45:58.721777"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t7a082167da7bd04f6786acd5a268dbdd SQL (0.2ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "9bff6361-c999-4b12-aa9c-d7cb55bf9fe3"], ["descendant_id", "9bff6361-c999-4b12-aa9c-d7cb55bf9fe3"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "9bff6361-c999-4b12-aa9c-d7cb55bf9fe3"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "9bff6361-c999-4b12-aa9c-d7cb55bf9fe3"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t27ad208f832ae7a787ab689d1b169ed3  (0.5ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-7' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-7"], ["status", 0], ["created_at", "2015-04-29 16:45:58.728973"], ["updated_at", "2015-04-29 16:45:58.728973"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t62df0ec850ad0ad3c3a872f2c1cd8a3e SQL (0.2ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "3b253bad-ec10-4588-8344-e66cf2ee7f9c"], ["descendant_id", "3b253bad-ec10-4588-8344-e66cf2ee7f9c"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "3b253bad-ec10-4588-8344-e66cf2ee7f9c"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "3b253bad-ec10-4588-8344-e66cf2ee7f9c"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t2638b624e916281243674b5e21059d50  (0.4ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-8' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "deleted_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-8"], ["deleted_at", "2015-04-29 16:45:58.734475"], ["created_at", "2015-04-29 16:45:58.735680"], ["updated_at", "2015-04-29 16:45:58.735680"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t4d2e23534357fa4bd0364a7a0f24356f SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "c7adec33-3dd0-4716-bad5-1204d093b612"], ["descendant_id", "c7adec33-3dd0-4716-bad5-1204d093b612"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "c7adec33-3dd0-4716-bad5-1204d093b612"]] PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "c7adec33-3dd0-4716-bad5-1204d093b612"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t7d77eb5e8842ed0ceee95ae0e85245b0  (0.4ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) UPDATE "push_type_nodes" SET "deleted_at" = $1, "updated_at" = $2 WHERE "push_type_nodes"."id" = $3 [["deleted_at", nil], ["updated_at", "2015-04-29 16:45:58.741578"], ["id", "c7adec33-3dd0-4716-bad5-1204d093b612"]]  (0.4ms) COMMIT  (0.1ms) BEGIN ---------------------------------------------- PushType::User::#initials: test_0001_anonymous ----------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------- PushType::User::#initials: test_0002_anonymous ----------------------------------------------  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------- PushType::User::#initials: test_0003_anonymous ----------------------------------------------  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------------------------------- PushType::Asset::#set_mime_type: test_0001_anonymous ----------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "6"], ["created_at", "2015-04-29 16:45:58.759881"], ["updated_at", "2015-04-29 16:45:58.759881"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------- PushType::Asset::#set_mime_type: test_0002_anonymous ----------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "7"], ["created_at", "2015-04-29 16:45:58.765244"], ["updated_at", "2015-04-29 16:45:58.765244"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PushType::Taxonomy: test_0001_anonymous --------------------------------------- PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" IS NULL AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" IS NULL AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------- PushType::Taxonomy: test_0002_should be valid with required attributes ---------------------------------------------------------------------- PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 1' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-9' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------- #status: test_0013_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-10' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "published_to", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-10"], ["published_at", "2015-04-27 16:45:58.795412"], ["published_to", "2015-04-28 16:45:58.795492"], ["created_at", "2015-04-29 16:45:58.796924"], ["updated_at", "2015-04-29 16:45:58.796924"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tcf50bcd480099963d1a2e0bfc229191d SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "78b6a98f-a600-417b-806a-f57a4610fffb"], ["descendant_id", "78b6a98f-a600-417b-806a-f57a4610fffb"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "78b6a98f-a600-417b-806a-f57a4610fffb"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "78b6a98f-a600-417b-806a-f57a4610fffb"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS ta90ef90dc4213ef0c36a3841a4e39bb2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.2ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0015_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-11' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "published_to", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-11"], ["published_at", "2015-04-27 16:45:58.804927"], ["published_to", "2015-04-28 16:45:58.805017"], ["created_at", "2015-04-29 16:45:58.806475"], ["updated_at", "2015-04-29 16:45:58.806475"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t7c9879faa55423ad1d827255d0fa790d SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "0538269b-62f2-4e0c-923f-3640390ea12e"], ["descendant_id", "0538269b-62f2-4e0c-923f-3640390ea12e"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "0538269b-62f2-4e0c-923f-3640390ea12e"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "0538269b-62f2-4e0c-923f-3640390ea12e"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t3ca4fd91140dba392ee36957d2ea2cca  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0007_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-12' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-12"], ["published_at", "2015-04-29 16:45:58.816072"], ["created_at", "2015-04-29 16:45:58.816187"], ["updated_at", "2015-04-29 16:45:58.816187"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tfe6761f84cce34cd631d7d664d03fd4b SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "0b00b19c-3fb7-4da5-9993-c8b67b9b63fe"], ["descendant_id", "0b00b19c-3fb7-4da5-9993-c8b67b9b63fe"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "0b00b19c-3fb7-4da5-9993-c8b67b9b63fe"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "0b00b19c-3fb7-4da5-9993-c8b67b9b63fe"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t2d9e1eba47cd9df17d3d26e039827438  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0014_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-13' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "published_to", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-13"], ["published_at", "2015-04-27 16:45:58.823971"], ["published_to", "2015-04-28 16:45:58.824030"], ["created_at", "2015-04-29 16:45:58.825430"], ["updated_at", "2015-04-29 16:45:58.825430"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t20899c7025803154c85ef1bce8c8ef70 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "a48d47e6-847c-4a3d-859b-80bdd96ef5d3"], ["descendant_id", "a48d47e6-847c-4a3d-859b-80bdd96ef5d3"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "a48d47e6-847c-4a3d-859b-80bdd96ef5d3"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "a48d47e6-847c-4a3d-859b-80bdd96ef5d3"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS te550c54dc50ceca806cb932d94bc8995  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------- #status: test_0009_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-14' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-14"], ["published_at", "2015-04-30 16:45:58.833706"], ["created_at", "2015-04-29 16:45:58.835106"], ["updated_at", "2015-04-29 16:45:58.835106"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS ta6f801bd5a65a6f524ed91fc7511bffe SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "4364bc5c-9bd4-4bfc-8531-db2dd38ae59f"], ["descendant_id", "4364bc5c-9bd4-4bfc-8531-db2dd38ae59f"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "4364bc5c-9bd4-4bfc-8531-db2dd38ae59f"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "4364bc5c-9bd4-4bfc-8531-db2dd38ae59f"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t33272ef8393327bee9727fff42cc7951  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0003_anonymous ----------------------------  (0.0ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-15' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-15"], ["created_at", "2015-04-29 16:45:58.843679"], ["updated_at", "2015-04-29 16:45:58.843679"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tc725307fb4460fc10e496a134bcd551d SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "7cf6f9bf-898d-484e-bd91-a3d1cda2630f"], ["descendant_id", "7cf6f9bf-898d-484e-bd91-a3d1cda2630f"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "7cf6f9bf-898d-484e-bd91-a3d1cda2630f"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "7cf6f9bf-898d-484e-bd91-a3d1cda2630f"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t0c5c6bd92c7058f8eac2b2b7edcd2066  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0006_anonymous ----------------------------  (0.0ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-16' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-16"], ["published_at", "2015-04-29 16:45:58.851977"], ["created_at", "2015-04-29 16:45:58.852084"], ["updated_at", "2015-04-29 16:45:58.852084"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tac8bc2da13b11f78a7d5091354964801 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "d5ab63b5-a657-4704-8591-89cd063954a9"], ["descendant_id", "d5ab63b5-a657-4704-8591-89cd063954a9"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "d5ab63b5-a657-4704-8591-89cd063954a9"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "d5ab63b5-a657-4704-8591-89cd063954a9"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t5fda6672dd5a0b3aaadd18a8ac47184e  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0005_anonymous ----------------------------  (0.0ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-17' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-17"], ["published_at", "2015-04-29 16:45:58.860202"], ["created_at", "2015-04-29 16:45:58.860328"], ["updated_at", "2015-04-29 16:45:58.860328"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tfa8f4a696a0dc397bc2a7fa8fe951ac9 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "d8da6c49-e864-4e9d-bbfc-949a1c7ee322"], ["descendant_id", "d8da6c49-e864-4e9d-bbfc-949a1c7ee322"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "d8da6c49-e864-4e9d-bbfc-949a1c7ee322"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "d8da6c49-e864-4e9d-bbfc-949a1c7ee322"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tdd4c1b2dfa9c423d46578bdbb33d3ab0  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0002_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-18' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-18"], ["created_at", "2015-04-29 16:45:58.868394"], ["updated_at", "2015-04-29 16:45:58.868394"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t1675f60717e324ffb6f7fed79fbb5c56 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "4ce2f9d9-f36d-482c-9429-8a4e76fd5e20"], ["descendant_id", "4ce2f9d9-f36d-482c-9429-8a4e76fd5e20"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "4ce2f9d9-f36d-482c-9429-8a4e76fd5e20"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "4ce2f9d9-f36d-482c-9429-8a4e76fd5e20"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t9d51e6baaf206340bdd087580ef931ee  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0008_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-19' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-19"], ["published_at", "2015-04-29 16:45:58.876926"], ["created_at", "2015-04-29 16:45:58.877030"], ["updated_at", "2015-04-29 16:45:58.877030"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tfdaf3f70a14651b6d38bd35049b2b2ca SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "298f9649-72c5-4b3b-a306-51dcb451f866"], ["descendant_id", "298f9649-72c5-4b3b-a306-51dcb451f866"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "298f9649-72c5-4b3b-a306-51dcb451f866"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "298f9649-72c5-4b3b-a306-51dcb451f866"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t5d41628c4b65e7a62b3bc66859b26a2a  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0011_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-20' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-20"], ["published_at", "2015-04-30 16:45:58.884274"], ["created_at", "2015-04-29 16:45:58.885663"], ["updated_at", "2015-04-29 16:45:58.885663"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t1614b1402d3f85134bb7b2d18a5a80ff SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "247b5a85-3c39-478c-ad16-4a970cbf08da"], ["descendant_id", "247b5a85-3c39-478c-ad16-4a970cbf08da"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "247b5a85-3c39-478c-ad16-4a970cbf08da"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "247b5a85-3c39-478c-ad16-4a970cbf08da"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t34dad3f7202463a3de186da272359d60  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.2ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------- #status: test_0004_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-21' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-21"], ["created_at", "2015-04-29 16:45:58.894212"], ["updated_at", "2015-04-29 16:45:58.894212"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tfc40bd807652d9e9961b7cd2f8db65ea SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "ed1a216b-e494-4016-9fe2-29a6118cb862"], ["descendant_id", "ed1a216b-e494-4016-9fe2-29a6118cb862"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "ed1a216b-e494-4016-9fe2-29a6118cb862"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "ed1a216b-e494-4016-9fe2-29a6118cb862"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t150ce063ded3545315adfe7f4fcfcf60  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------- #status: test_0001_anonymous ----------------------------  (0.0ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-22' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-22"], ["created_at", "2015-04-29 16:45:58.902459"], ["updated_at", "2015-04-29 16:45:58.902459"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tac21a2ecc2c9ea129eaa33da320c4f2b SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "16b37047-3f08-45ff-b5ba-31ea7ff585e9"], ["descendant_id", "16b37047-3f08-45ff-b5ba-31ea7ff585e9"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "16b37047-3f08-45ff-b5ba-31ea7ff585e9"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "16b37047-3f08-45ff-b5ba-31ea7ff585e9"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS td04d9866f77bcce559220b7db575de54  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0010_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-23' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-23"], ["published_at", "2015-04-30 16:45:58.909635"], ["created_at", "2015-04-29 16:45:58.910945"], ["updated_at", "2015-04-29 16:45:58.910945"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS td902d08ee5192c5b15234f4ab822d181 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "f0b2126f-41f3-4fa8-9bbe-857a1b21f4ce"], ["descendant_id", "f0b2126f-41f3-4fa8-9bbe-857a1b21f4ce"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "f0b2126f-41f3-4fa8-9bbe-857a1b21f4ce"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "f0b2126f-41f3-4fa8-9bbe-857a1b21f4ce"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t35ccec6ea7331763df26812ec5a0fc3b  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0016_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-24' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "published_to", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-24"], ["published_at", "2015-04-27 16:45:58.918513"], ["published_to", "2015-04-28 16:45:58.918574"], ["created_at", "2015-04-29 16:45:58.919947"], ["updated_at", "2015-04-29 16:45:58.919947"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t10e5199f29055debc55f5fa4faec625b SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "2ccf304c-874e-43c3-af8a-08505f2580d9"], ["descendant_id", "2ccf304c-874e-43c3-af8a-08505f2580d9"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "2ccf304c-874e-43c3-af8a-08505f2580d9"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "2ccf304c-874e-43c3-af8a-08505f2580d9"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t4f64721e23cff3a2e851c6c20e190811  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- #status: test_0012_anonymous ----------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-25' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-25"], ["published_at", "2015-04-30 16:45:58.927455"], ["created_at", "2015-04-29 16:45:58.928910"], ["updated_at", "2015-04-29 16:45:58.928910"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t8c0bd24649f3998338a723d0f438c029 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "7aad2c64-f999-4ef7-94ac-8747ccf1a82e"], ["descendant_id", "7aad2c64-f999-4ef7-94ac-8747ccf1a82e"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "7aad2c64-f999-4ef7-94ac-8747ccf1a82e"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "7aad2c64-f999-4ef7-94ac-8747ccf1a82e"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tc8d12dd63b702b0babeadb319dd7b8b8  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN --------------------------------------------------------------------------------- NodesFrontEndController::GET #show::when node does not exist: test_0001_anonymous --------------------------------------------------------------------------------- Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"does/not/exist"} PushType::Node Load (0.3ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_nodes" AS p0 ON p0."id" = "push_type_nodes"."parent_id" INNER JOIN "push_type_nodes" AS p1 ON p1."id" = "p0"."parent_id" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:58.942392') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:58.942522') AND "push_type_nodes"."slug" = $1 AND "p0"."slug" = 'not' AND "p1"."slug" = 'does' AND "p1"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "exist"]] Completed 404 Not Found in 4ms (ActiveRecord: 0.9ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------------ TaxonomiesFrontEndController::GET #show::when taxonomy class does not exist: test_0001_anonymous ------------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 2' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-26' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 2"], ["slug", "foo-bar-26"], ["created_at", "2015-04-29 16:45:58.957597"], ["updated_at", "2015-04-29 16:45:58.957597"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t55a7de6f6135ff5cbb2c864202e8e642 SQL (0.2ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "e7c7edc3-6823-458d-9bcd-3c923005a80d"], ["descendant_id", "e7c7edc3-6823-458d-9bcd-3c923005a80d"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id  Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "e7c7edc3-6823-458d-9bcd-3c923005a80d"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "e7c7edc3-6823-458d-9bcd-3c923005a80d"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS tf203467a7ca108aea577489dfcde6077  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"noop", "permalink"=>"foo-bar-26"} Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------- .published::without published status: test_0001_anonymous ---------------------------------------------------------  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:58.976542') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:58.976670')  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-27' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-27"], ["created_at", "2015-04-29 16:45:58.978771"], ["updated_at", "2015-04-29 16:45:58.978771"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tbea21cfacd023580cf692943e29fc18e SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "8daee798-5ed5-431b-9ca6-aa33e81b73f5"], ["descendant_id", "8daee798-5ed5-431b-9ca6-aa33e81b73f5"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "8daee798-5ed5-431b-9ca6-aa33e81b73f5"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "8daee798-5ed5-431b-9ca6-aa33e81b73f5"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t7b624c8f850ccd40574dc807eb5f7a8a  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:58.976542') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:58.976670')  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------------------------------------- PushType::Asset::#media::with no args: test_0002_anonymous ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "8"], ["created_at", "2015-04-29 16:45:58.989469"], ["updated_at", "2015-04-29 16:45:58.989469"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------------------------------------- PushType::Asset::#media::with no args: test_0001_anonymous ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "9"], ["created_at", "2015-04-29 16:45:58.994603"], ["updated_at", "2015-04-29 16:45:58.994603"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ----------------------------------------------------- exposed?: test_0001_should be true when not unexposed -----------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- exposed?: test_0002_should be false when unexposed --------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN -------------------------------------------- PushType::NodeGenerator: test_0001_anonymous --------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------- PushType::NodeGenerator: test_0002_anonymous --------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN -------------------------------------------- PushType::NodeGenerator: test_0004_anonymous --------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------- PushType::NodeGenerator: test_0003_anonymous --------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------- PushType::NodeGenerator: test_0005_anonymous --------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------- PushType::NodeGenerator: test_0006_anonymous --------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------- TaxonomiesFrontEndController::taxonomy filters: test_0006_anonymous -------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 3' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-28' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 3"], ["slug", "foo-bar-28"], ["created_at", "2015-04-29 16:45:59.047984"], ["updated_at", "2015-04-29 16:45:59.047984"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS td62e0c0746d1c0869a5c633223516db8 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "992dd297-f352-43f8-9c0b-aefe88b85dfa"], ["descendant_id", "992dd297-f352-43f8-9c0b-aefe88b85dfa"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id Category Load (0.2ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "992dd297-f352-43f8-9c0b-aefe88b85dfa"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "992dd297-f352-43f8-9c0b-aefe88b85dfa"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t741f30e99a4722638f3eb4f092f26ca9  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-28"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-28"]] Rendered taxonomies/category.html.erb within layouts/application (1.6ms) Completed 200 OK in 102ms (Views: 100.1ms | ActiveRecord: 0.1ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.2ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------------------------------- TaxonomiesFrontEndController::taxonomy filters: test_0002_anonymous -------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 4' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-29' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 4"], ["slug", "foo-bar-29"], ["created_at", "2015-04-29 16:45:59.162611"], ["updated_at", "2015-04-29 16:45:59.162611"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t4a138cce67eb44a9cb412019413bf14e SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "0bf2df39-e0c3-4416-8343-1295f365ec0a"], ["descendant_id", "0bf2df39-e0c3-4416-8343-1295f365ec0a"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id  Category Load (0.2ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "0bf2df39-e0c3-4416-8343-1295f365ec0a"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "0bf2df39-e0c3-4416-8343-1295f365ec0a"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t0509ef7cfb00908a3683dd37fe487a01  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-29"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-29"]] Rendered taxonomies/category.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------- TaxonomiesFrontEndController::taxonomy filters: test_0001_anonymous -------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 5' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-30' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 5"], ["slug", "foo-bar-30"], ["created_at", "2015-04-29 16:45:59.176382"], ["updated_at", "2015-04-29 16:45:59.176382"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t0a1eb8da1738b1ff0e6aade020b87211 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "7580b79d-2135-4e76-955a-43d9a77a7571"], ["descendant_id", "7580b79d-2135-4e76-955a-43d9a77a7571"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id Category Load (0.2ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "7580b79d-2135-4e76-955a-43d9a77a7571"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "7580b79d-2135-4e76-955a-43d9a77a7571"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t9ff3a2510acc4c4fd2ca493e5dad6dad  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-30"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-30"]] Rendered taxonomies/category.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------- TaxonomiesFrontEndController::taxonomy filters: test_0004_anonymous -------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 6' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-31' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 6"], ["slug", "foo-bar-31"], ["created_at", "2015-04-29 16:45:59.189357"], ["updated_at", "2015-04-29 16:45:59.189357"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t1e5003c239964cc0ef5599c574e093cf SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "82936bd6-e851-4ebe-b488-2ecdefc618e8"], ["descendant_id", "82936bd6-e851-4ebe-b488-2ecdefc618e8"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id  Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "82936bd6-e851-4ebe-b488-2ecdefc618e8"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "82936bd6-e851-4ebe-b488-2ecdefc618e8"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS tc08b8d9d1562cdcf441d3ae86c1dbaf5  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-31"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-31"]] Rendered taxonomies/category.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------- TaxonomiesFrontEndController::taxonomy filters: test_0008_anonymous -------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 7' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-32' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 7"], ["slug", "foo-bar-32"], ["created_at", "2015-04-29 16:45:59.202534"], ["updated_at", "2015-04-29 16:45:59.202534"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t788b1be0f037880e3fd4a4f47c9b0310 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "5b91eef5-00d2-42e7-8888-73adaf15cc46"], ["descendant_id", "5b91eef5-00d2-42e7-8888-73adaf15cc46"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "5b91eef5-00d2-42e7-8888-73adaf15cc46"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "5b91eef5-00d2-42e7-8888-73adaf15cc46"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS ta607fae1ddb05efbcb798e5502368103  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-32"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-32"]] Rendered taxonomies/category.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------- TaxonomiesFrontEndController::taxonomy filters: test_0003_anonymous -------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 8' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-33' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 8"], ["slug", "foo-bar-33"], ["created_at", "2015-04-29 16:45:59.215425"], ["updated_at", "2015-04-29 16:45:59.215425"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS tc427325c43bb9f09dd521d7fbd8bfa30 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "de883673-f213-487d-ad0f-51334daa240b"], ["descendant_id", "de883673-f213-487d-ad0f-51334daa240b"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id  Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "de883673-f213-487d-ad0f-51334daa240b"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "de883673-f213-487d-ad0f-51334daa240b"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS tdc1a9c10f430d80fb464931380842243  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-33"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-33"]] Rendered taxonomies/category.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.2ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------------------------------- TaxonomiesFrontEndController::taxonomy filters: test_0007_anonymous -------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 9' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-34' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 9"], ["slug", "foo-bar-34"], ["created_at", "2015-04-29 16:45:59.228108"], ["updated_at", "2015-04-29 16:45:59.228108"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t07c6bc0719d173a0f1f95e29ba6f95ed SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "ca03c528-ed75-4609-9ff8-bee663a23d03"], ["descendant_id", "ca03c528-ed75-4609-9ff8-bee663a23d03"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "ca03c528-ed75-4609-9ff8-bee663a23d03"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "ca03c528-ed75-4609-9ff8-bee663a23d03"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS tfeb68a007a3948a57c4598ed349a4419  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-34"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-34"]] Rendered taxonomies/category.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------------------------------- TaxonomiesFrontEndController::taxonomy filters: test_0005_anonymous -------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 10' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-35' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 10"], ["slug", "foo-bar-35"], ["created_at", "2015-04-29 16:45:59.240487"], ["updated_at", "2015-04-29 16:45:59.240487"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t3e0c3a3bb6e2f42b25255391829ccb61 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "1885a550-dc4c-4e39-a4f8-693644b0cdaf"], ["descendant_id", "1885a550-dc4c-4e39-a4f8-693644b0cdaf"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id  Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "1885a550-dc4c-4e39-a4f8-693644b0cdaf"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "1885a550-dc4c-4e39-a4f8-693644b0cdaf"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t190362b299d753da5dd42c54dc84d0a1  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-35"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-35"]] Rendered taxonomies/category.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------- .published::with published_at dates in the past: test_0001_anonymous --------------------------------------------------------------------  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:59.253363') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:59.253470')  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-36' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-36"], ["published_at", "2015-04-27 16:45:59.254181"], ["created_at", "2015-04-29 16:45:59.255987"], ["updated_at", "2015-04-29 16:45:59.255987"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t79117875187477af7f1c270c3c34794d SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "1e7665ae-046f-4751-a941-045eae258cda"], ["descendant_id", "1e7665ae-046f-4751-a941-045eae258cda"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "1e7665ae-046f-4751-a941-045eae258cda"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "1e7665ae-046f-4751-a941-045eae258cda"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t2c54e70f52ac9914d1474c0425b51363  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:59.253363') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:59.253470')  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ----------------------------------------------------------------- PushType::Asset::#media::with original style: test_0002_anonymous -----------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "10"], ["created_at", "2015-04-29 16:45:59.266138"], ["updated_at", "2015-04-29 16:45:59.266138"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ----------------------------------------------------------------- PushType::Asset::#media::with original style: test_0001_anonymous -----------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "11"], ["created_at", "2015-04-29 16:45:59.271392"], ["updated_at", "2015-04-29 16:45:59.271392"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------- PushType::Node::#permalink: test_0001_anonymous -----------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'one' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "one"], ["created_at", "2015-04-29 16:45:59.278040"], ["updated_at", "2015-04-29 16:45:59.278040"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS teccb983620d9c96d07956c8b4d3088f5 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "a2b6783b-5212-4121-ac1b-8fe0d60e0cf4"], ["descendant_id", "a2b6783b-5212-4121-ac1b-8fe0d60e0cf4"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "a2b6783b-5212-4121-ac1b-8fe0d60e0cf4"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "a2b6783b-5212-4121-ac1b-8fe0d60e0cf4"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t583e40d15e57931d378f04678dec5683  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'two' AND "push_type_nodes"."parent_id" = 'a2b6783b-5212-4121-ac1b-8fe0d60e0cf4') LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "two"], ["parent_id", "a2b6783b-5212-4121-ac1b-8fe0d60e0cf4"], ["created_at", "2015-04-29 16:45:59.284677"], ["updated_at", "2015-04-29 16:45:59.284677"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS te55ac6d2a150584035407be9b0db2627 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "9f2d0484-74f4-4e8a-bdb8-2d79bb8a91a6"], ["descendant_id", "9f2d0484-74f4-4e8a-bdb8-2d79bb8a91a6"], ["generations", 0]]  (0.2ms) INSERT INTO "push_type_node_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, '9f2d0484-74f4-4e8a-bdb8-2d79bb8a91a6', x.generations + 1 FROM "push_type_node_hierarchies" x WHERE x.descendant_id = 'a2b6783b-5212-4121-ac1b-8fe0d60e0cf4'  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" = 'a2b6783b-5212-4121-ac1b-8fe0d60e0cf4' ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "9f2d0484-74f4-4e8a-bdb8-2d79bb8a91a6"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "9f2d0484-74f4-4e8a-bdb8-2d79bb8a91a6"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t9429feefed6e0fb9723a08408484d698  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'three' AND "push_type_nodes"."parent_id" = '9f2d0484-74f4-4e8a-bdb8-2d79bb8a91a6') LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "three"], ["parent_id", "9f2d0484-74f4-4e8a-bdb8-2d79bb8a91a6"], ["created_at", "2015-04-29 16:45:59.291146"], ["updated_at", "2015-04-29 16:45:59.291146"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS ta9525646dc29acdaedaab5a614358747 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "a0087472-e316-4fe2-a062-e1ed75ea55aa"], ["descendant_id", "a0087472-e316-4fe2-a062-e1ed75ea55aa"], ["generations", 0]]  (0.2ms) INSERT INTO "push_type_node_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, 'a0087472-e316-4fe2-a062-e1ed75ea55aa', x.generations + 1 FROM "push_type_node_hierarchies" x WHERE x.descendant_id = '9f2d0484-74f4-4e8a-bdb8-2d79bb8a91a6'   (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" = '9f2d0484-74f4-4e8a-bdb8-2d79bb8a91a6' ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "a0087472-e316-4fe2-a062-e1ed75ea55aa"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "a0087472-e316-4fe2-a062-e1ed75ea55aa"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS te1d26bf28cbf247e2c76e0c8f9a94e73  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.3ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "a0087472-e316-4fe2-a062-e1ed75ea55aa"]]  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-37' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"tags\":[\"foo\",\"bar\"]}"], ["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-37"], ["status", 0], ["created_at", "2015-04-29 16:45:59.311573"], ["updated_at", "2015-04-29 16:45:59.311573"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS te40a5591047eebe4d65b633773fa07ec SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "46482591-a500-4d87-91d7-0949d9f533f2"], ["descendant_id", "46482591-a500-4d87-91d7-0949d9f533f2"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "46482591-a500-4d87-91d7-0949d9f533f2"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "46482591-a500-4d87-91d7-0949d9f533f2"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS td3405f9cfe50d9cfb1d144f10ce16aed  (6.0ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-38' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"tags\":[\"baz\"]}"], ["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-38"], ["status", 0], ["created_at", "2015-04-29 16:45:59.324928"], ["updated_at", "2015-04-29 16:45:59.324928"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t766b2eef52e472b74f588a7cceb9a844 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "21c04ba8-96c9-4aa8-995b-dc4557a27330"], ["descendant_id", "21c04ba8-96c9-4aa8-995b-dc4557a27330"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "21c04ba8-96c9-4aa8-995b-dc4557a27330"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "21c04ba8-96c9-4aa8-995b-dc4557a27330"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tc2f8bd0e752af8162d6ba30d80283d7b  (0.5ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-39' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"tags\":[\"foo\",\"bang\"]}"], ["type", "TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-39"], ["status", 0], ["created_at", "2015-04-29 16:45:59.332497"], ["updated_at", "2015-04-29 16:45:59.332497"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t084919f88bff3c95e753c8398d361f78 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "84a8e401-f6ff-49b8-b461-2f93da636a54"], ["descendant_id", "84a8e401-f6ff-49b8-b461-2f93da636a54"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  TestPage Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "84a8e401-f6ff-49b8-b461-2f93da636a54"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "84a8e401-f6ff-49b8-b461-2f93da636a54"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t36a9a0f9bfcb8ad3b31f3c1fefc3a770  (0.5ms) COMMIT  (0.4ms) SELECT DISTINCT jsonb_array_elements_text(field_store->'tags') AS _tag FROM push_type_nodes WHERE push_type_nodes.type IN ('Page') ORDER BY _tag  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-40' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"tags\":[\"foo\",\"bar\"]}"], ["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-40"], ["status", 0], ["created_at", "2015-04-29 16:45:59.341465"], ["updated_at", "2015-04-29 16:45:59.341465"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t00f1cdc36e669dc347ae8cda352a0fd6 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "75109bb8-55d9-496d-8b27-08bd4aceb23d"], ["descendant_id", "75109bb8-55d9-496d-8b27-08bd4aceb23d"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "75109bb8-55d9-496d-8b27-08bd4aceb23d"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "75109bb8-55d9-496d-8b27-08bd4aceb23d"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS td7b230384c734788cafc174d66be5f92  (0.4ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-41' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"tags\":[\"baz\"]}"], ["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-41"], ["status", 0], ["created_at", "2015-04-29 16:45:59.349175"], ["updated_at", "2015-04-29 16:45:59.349175"]]  (0.2ms) SELECT pg_try_advisory_lock(1213021721,0) AS t95fd26cf9168a4a5c166014f07417ac0 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "4233c964-3a89-4d66-a323-f1c7a7d7badc"], ["descendant_id", "4233c964-3a89-4d66-a323-f1c7a7d7badc"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "4233c964-3a89-4d66-a323-f1c7a7d7badc"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "4233c964-3a89-4d66-a323-f1c7a7d7badc"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t8d141495d0bdc21cfee29e861ee8e357  (0.5ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-42' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"tags\":[\"foo\",\"bang\"]}"], ["type", "TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-42"], ["status", 0], ["created_at", "2015-04-29 16:45:59.357083"], ["updated_at", "2015-04-29 16:45:59.357083"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tae5bf48d58a4176073fa5eb350a0bd46 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "66229b22-7456-42ae-a5d3-e324eab9a78c"], ["descendant_id", "66229b22-7456-42ae-a5d3-e324eab9a78c"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id TestPage Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "66229b22-7456-42ae-a5d3-e324eab9a78c"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "66229b22-7456-42ae-a5d3-e324eab9a78c"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS te663384b7f150fea438b83cce50a0d68  (0.4ms) COMMIT  (0.2ms) SELECT DISTINCT jsonb_array_elements_text(field_store->'tags') AS _tag FROM push_type_nodes ORDER BY _tag  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-43' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"tags\":[\"foo\",\"bar\"]}"], ["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-43"], ["status", 0], ["created_at", "2015-04-29 16:45:59.365572"], ["updated_at", "2015-04-29 16:45:59.365572"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t01c75d213b32f783d1e72dc9f5607447 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "87feb922-31ad-4dcd-93ce-9dc868140011"], ["descendant_id", "87feb922-31ad-4dcd-93ce-9dc868140011"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "87feb922-31ad-4dcd-93ce-9dc868140011"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "87feb922-31ad-4dcd-93ce-9dc868140011"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tb11a84b99bcac826060d71b82e1949ec  (0.5ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-44' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"tags\":[\"baz\"]}"], ["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-44"], ["status", 0], ["created_at", "2015-04-29 16:45:59.373166"], ["updated_at", "2015-04-29 16:45:59.373166"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t1d8028dfbcb84b63fe1c88f81804f967 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "62f06e98-5184-490f-9242-9f408291f4bd"], ["descendant_id", "62f06e98-5184-490f-9242-9f408291f4bd"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "62f06e98-5184-490f-9242-9f408291f4bd"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "62f06e98-5184-490f-9242-9f408291f4bd"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t50e3a200509f3646fdcc6838472212e3  (0.5ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-45' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"tags\":[\"foo\",\"bang\"]}"], ["type", "TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-45"], ["status", 0], ["created_at", "2015-04-29 16:45:59.380642"], ["updated_at", "2015-04-29 16:45:59.380642"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t39b5522e90ec6a7c4e5388cc28b9a3e3 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "59fcdf1a-3430-4336-b3ac-c241888c195a"], ["descendant_id", "59fcdf1a-3430-4336-b3ac-c241888c195a"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  TestPage Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "59fcdf1a-3430-4336-b3ac-c241888c195a"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "59fcdf1a-3430-4336-b3ac-c241888c195a"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t62e74f74545ad248ef9c5fa1d75f1756  (0.5ms) COMMIT  (0.2ms) SELECT DISTINCT jsonb_array_elements_text(field_store->'tags') AS _tag FROM push_type_nodes WHERE push_type_nodes.type IN ('TestPage') ORDER BY _tag  (0.1ms) BEGIN --------------------------------------------- PushType::Node::#orphan?: test_0002_anonymous ---------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-46' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-46"], ["created_at", "2015-04-29 16:45:59.391156"], ["updated_at", "2015-04-29 16:45:59.391156"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tb519db9143c54abac0527e1417877e4f SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "d26f10f5-2d36-49b1-a617-b04585b3725a"], ["descendant_id", "d26f10f5-2d36-49b1-a617-b04585b3725a"], ["generations", 0]]  (0.6ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "d26f10f5-2d36-49b1-a617-b04585b3725a"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "d26f10f5-2d36-49b1-a617-b04585b3725a"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t256ed8f9e11cb4bb6609b163c4307b30  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-47' AND "push_type_nodes"."parent_id" = 'd26f10f5-2d36-49b1-a617-b04585b3725a') LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-47"], ["parent_id", "d26f10f5-2d36-49b1-a617-b04585b3725a"], ["created_at", "2015-04-29 16:45:59.397472"], ["updated_at", "2015-04-29 16:45:59.397472"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t15d372f98fa79b789b0fe2b04d7f5a80 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "86288f70-3048-4750-b909-5bdfa9dd9b15"], ["descendant_id", "86288f70-3048-4750-b909-5bdfa9dd9b15"], ["generations", 0]]  (0.2ms) INSERT INTO "push_type_node_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, '86288f70-3048-4750-b909-5bdfa9dd9b15', x.generations + 1 FROM "push_type_node_hierarchies" x WHERE x.descendant_id = 'd26f10f5-2d36-49b1-a617-b04585b3725a'   (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" = 'd26f10f5-2d36-49b1-a617-b04585b3725a' ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "86288f70-3048-4750-b909-5bdfa9dd9b15"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "86288f70-3048-4750-b909-5bdfa9dd9b15"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS ta3d5efa1f003f6bb46f88452a28826f0  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "push_type_nodes" SET "deleted_at" = $1, "updated_at" = $2 WHERE "push_type_nodes"."id" = $3 [["deleted_at", "2015-04-29 16:45:59.402699"], ["updated_at", "2015-04-29 16:45:59.403066"], ["id", "d26f10f5-2d36-49b1-a617-b04585b3725a"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "push_type_nodes" SET "deleted_at" = '2015-04-29 16:45:59.406176' WHERE "push_type_nodes"."id" IN (SELECT "push_type_nodes"."id" FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."descendant_id" WHERE "push_type_node_hierarchies"."ancestor_id" = $1 AND ("push_type_nodes"."id" != 'd26f10f5-2d36-49b1-a617-b04585b3725a') ORDER BY "push_type_node_hierarchies".generations asc, sort_order) [["ancestor_id", "d26f10f5-2d36-49b1-a617-b04585b3725a"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "d26f10f5-2d36-49b1-a617-b04585b3725a"]]  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN --------------------------------------------- PushType::Node::#orphan?: test_0001_anonymous ---------------------------------------------  (0.0ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-48' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-48"], ["created_at", "2015-04-29 16:45:59.412230"], ["updated_at", "2015-04-29 16:45:59.412230"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t1ea8fc034ec3b83d64ddd63ebf47c369 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "9cd045dc-f9cd-492d-98f8-403b545dbe1f"], ["descendant_id", "9cd045dc-f9cd-492d-98f8-403b545dbe1f"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "9cd045dc-f9cd-492d-98f8-403b545dbe1f"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "9cd045dc-f9cd-492d-98f8-403b545dbe1f"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tb1b6c1c8ef06f5c9a433270a1f8a0537  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-49' AND "push_type_nodes"."parent_id" = '9cd045dc-f9cd-492d-98f8-403b545dbe1f') LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-49"], ["parent_id", "9cd045dc-f9cd-492d-98f8-403b545dbe1f"], ["created_at", "2015-04-29 16:45:59.418517"], ["updated_at", "2015-04-29 16:45:59.418517"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t090760fadb3d36b7646b8e81e227613f SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "e18e8646-8713-424f-807f-4a88440e4ca2"], ["descendant_id", "e18e8646-8713-424f-807f-4a88440e4ca2"], ["generations", 0]]  (0.2ms) INSERT INTO "push_type_node_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, 'e18e8646-8713-424f-807f-4a88440e4ca2', x.generations + 1 FROM "push_type_node_hierarchies" x WHERE x.descendant_id = '9cd045dc-f9cd-492d-98f8-403b545dbe1f'  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" = '9cd045dc-f9cd-492d-98f8-403b545dbe1f' ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "e18e8646-8713-424f-807f-4a88440e4ca2"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "e18e8646-8713-424f-807f-4a88440e4ca2"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t1e1211a539e2a7db7cf72cfa910c0fdb  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "push_type_nodes" SET "deleted_at" = $1, "updated_at" = $2 WHERE "push_type_nodes"."id" = $3 [["deleted_at", "2015-04-29 16:45:59.423418"], ["updated_at", "2015-04-29 16:45:59.423760"], ["id", "9cd045dc-f9cd-492d-98f8-403b545dbe1f"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "push_type_nodes" SET "deleted_at" = '2015-04-29 16:45:59.425413' WHERE "push_type_nodes"."id" IN (SELECT "push_type_nodes"."id" FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."descendant_id" WHERE "push_type_node_hierarchies"."ancestor_id" = $1 AND ("push_type_nodes"."id" != '9cd045dc-f9cd-492d-98f8-403b545dbe1f') ORDER BY "push_type_node_hierarchies".generations asc, sort_order) [["ancestor_id", "9cd045dc-f9cd-492d-98f8-403b545dbe1f"]]  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------------------------- PushType::Taxonomy::.base_slug: test_0001_should by default be the class name -----------------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------- PushType::Asset::#description_or_file_name: test_0001_anonymous ---------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "12"], ["created_at", "2015-04-29 16:45:59.435900"], ["updated_at", "2015-04-29 16:45:59.435900"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------------------------- PushType::Asset::#description_or_file_name: test_0002_should return description when present --------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "13"], ["created_at", "2015-04-29 16:45:59.441168"], ["updated_at", "2015-04-29 16:45:59.441168"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0013_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "14"], ["created_at", "2015-04-29 16:45:59.447019"], ["updated_at", "2015-04-29 16:45:59.447019"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0003_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "15"], ["created_at", "2015-04-29 16:45:59.453430"], ["updated_at", "2015-04-29 16:45:59.453430"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0008_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "audio.m3u"], ["file_size", 64], ["file_uid", "16"], ["created_at", "2015-04-29 16:45:59.458941"], ["updated_at", "2015-04-29 16:45:59.458941"], ["file_ext", "m3u"], ["mime_type", "audio/x-mpegurl"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0014_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "17"], ["created_at", "2015-04-29 16:45:59.464028"], ["updated_at", "2015-04-29 16:45:59.464028"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0005_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "audio.m3u"], ["file_size", 64], ["file_uid", "18"], ["created_at", "2015-04-29 16:45:59.469541"], ["updated_at", "2015-04-29 16:45:59.469541"], ["file_ext", "m3u"], ["mime_type", "audio/x-mpegurl"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0010_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "video.mp4"], ["file_size", 424925], ["file_uid", "19"], ["created_at", "2015-04-29 16:45:59.479033"], ["updated_at", "2015-04-29 16:45:59.479033"], ["file_ext", "mp4"], ["mime_type", "video/mp4"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0016_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "20"], ["created_at", "2015-04-29 16:45:59.484353"], ["updated_at", "2015-04-29 16:45:59.484353"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0009_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "video.mp4"], ["file_size", 424925], ["file_uid", "21"], ["created_at", "2015-04-29 16:45:59.490325"], ["updated_at", "2015-04-29 16:45:59.490325"], ["file_ext", "mp4"], ["mime_type", "video/mp4"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0007_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "audio.m3u"], ["file_size", 64], ["file_uid", "22"], ["created_at", "2015-04-29 16:45:59.495487"], ["updated_at", "2015-04-29 16:45:59.495487"], ["file_ext", "m3u"], ["mime_type", "audio/x-mpegurl"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0012_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "video.mp4"], ["file_size", 424925], ["file_uid", "23"], ["created_at", "2015-04-29 16:45:59.501552"], ["updated_at", "2015-04-29 16:45:59.501552"], ["file_ext", "mp4"], ["mime_type", "video/mp4"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0001_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "24"], ["created_at", "2015-04-29 16:45:59.506805"], ["updated_at", "2015-04-29 16:45:59.506805"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0006_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "audio.m3u"], ["file_size", 64], ["file_uid", "25"], ["created_at", "2015-04-29 16:45:59.511681"], ["updated_at", "2015-04-29 16:45:59.511681"], ["file_ext", "m3u"], ["mime_type", "audio/x-mpegurl"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.2ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0004_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "26"], ["created_at", "2015-04-29 16:45:59.517024"], ["updated_at", "2015-04-29 16:45:59.517024"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0015_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "27"], ["created_at", "2015-04-29 16:45:59.522004"], ["updated_at", "2015-04-29 16:45:59.522004"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0002_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "28"], ["created_at", "2015-04-29 16:45:59.526819"], ["updated_at", "2015-04-29 16:45:59.526819"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------- PushType::Asset::#kind: test_0011_anonymous -------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "video.mp4"], ["file_size", 424925], ["file_uid", "29"], ["created_at", "2015-04-29 16:45:59.532741"], ["updated_at", "2015-04-29 16:45:59.532741"], ["file_ext", "mp4"], ["mime_type", "video/mp4"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------ PushType::Asset: test_0001_anonymous ------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------ PushType::Asset: test_0002_anonymous ------------------------------------  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------- PushType::Asset: test_0005_should be valid with required attributes -------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------ PushType::Asset: test_0003_anonymous ------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------ PushType::Asset: test_0004_anonymous ------------------------------------  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-50' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-50"], ["created_at", "2015-04-29 16:45:59.555943"], ["updated_at", "2015-04-29 16:45:59.555943"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t839737cca53d9148798b7a7494d445a7 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "29d84094-7b25-4cd7-9cbe-29cce870e5fe"], ["descendant_id", "29d84094-7b25-4cd7-9cbe-29cce870e5fe"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "29d84094-7b25-4cd7-9cbe-29cce870e5fe"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "29d84094-7b25-4cd7-9cbe-29cce870e5fe"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tfa73d6973f29a38b8e21aae67c8089ca  (6.1ms) COMMIT  (0.1ms) BEGIN ------------------------------------------------------------------------------- NodesFrontEndController::GET #show::when node is published: test_0001_anonymous -------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-51' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-51"], ["status", 1], ["published_at", "2015-04-29 16:45:59.570258"], ["created_at", "2015-04-29 16:45:59.570376"], ["updated_at", "2015-04-29 16:45:59.570376"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS te5554ef23ab5566dfaab928ca95173c8 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "5b6bd4de-63f6-41ec-8aee-96a80ba17109"], ["descendant_id", "5b6bd4de-63f6-41ec-8aee-96a80ba17109"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "5b6bd4de-63f6-41ec-8aee-96a80ba17109"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "5b6bd4de-63f6-41ec-8aee-96a80ba17109"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t39b670ec753462ce89d98262b0546d84  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "5b6bd4de-63f6-41ec-8aee-96a80ba17109"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-51"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:59.577493') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:59.577575') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-51"]] Rendered nodes/page.html.erb within layouts/application (0.3ms) Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------- NodesFrontEndController::GET #show::when node is published: test_0003_anonymous -------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-52' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-52"], ["status", 1], ["published_at", "2015-04-29 16:45:59.586416"], ["created_at", "2015-04-29 16:45:59.586537"], ["updated_at", "2015-04-29 16:45:59.586537"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t2458fd2194b054455598a30c9d87b22c SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "64227eda-9503-4e00-83b0-05bad12e54e0"], ["descendant_id", "64227eda-9503-4e00-83b0-05bad12e54e0"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "64227eda-9503-4e00-83b0-05bad12e54e0"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "64227eda-9503-4e00-83b0-05bad12e54e0"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t1e4251c7a2f79d26a9a186af26b64903  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "64227eda-9503-4e00-83b0-05bad12e54e0"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-52"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:59.593715') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:59.593797') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-52"]] Rendered nodes/page.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------- NodesFrontEndController::GET #show::when node is published: test_0004_anonymous -------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-53' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-53"], ["status", 1], ["published_at", "2015-04-29 16:45:59.601264"], ["created_at", "2015-04-29 16:45:59.601383"], ["updated_at", "2015-04-29 16:45:59.601383"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t03d026b9656c670ed3a90b5a4673a379 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "e697eb63-92fa-4ce5-b7de-ea269e540bda"], ["descendant_id", "e697eb63-92fa-4ce5-b7de-ea269e540bda"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "e697eb63-92fa-4ce5-b7de-ea269e540bda"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "e697eb63-92fa-4ce5-b7de-ea269e540bda"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tf97f1e43cb3a6cd85cdca6dc5fdbd408  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.4ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "e697eb63-92fa-4ce5-b7de-ea269e540bda"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-53"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:59.642514') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:59.642627') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-53"]] Rendered nodes/page.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------- NodesFrontEndController::GET #show::when node is published: test_0002_anonymous -------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-54' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-54"], ["status", 1], ["published_at", "2015-04-29 16:45:59.651331"], ["created_at", "2015-04-29 16:45:59.651456"], ["updated_at", "2015-04-29 16:45:59.651456"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS ta9ad6b323c0c3066ea7f6e3e4d15d3b6 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "25571622-6776-486b-ba15-7b1b18f5e3f2"], ["descendant_id", "25571622-6776-486b-ba15-7b1b18f5e3f2"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "25571622-6776-486b-ba15-7b1b18f5e3f2"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "25571622-6776-486b-ba15-7b1b18f5e3f2"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t225f51c901bab54d0fa0d018e986ef6a  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "25571622-6776-486b-ba15-7b1b18f5e3f2"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-54"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:59.659564') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:59.659645') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-54"]] Rendered nodes/page.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PushType::User: test_0001_anonymous ----------------------------------- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" IS NULL LIMIT 1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------------------------------ PushType::User: test_0002_should be valid with required attributes ------------------------------------------------------------------ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------- #set_published_at::when publishing: test_0001_anonymous -------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-55' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-55"], ["created_at", "2015-04-29 16:45:59.678314"], ["updated_at", "2015-04-29 16:45:59.678314"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t5815ee05cd89085e8e52ffea649526ff SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "559fe63f-6470-4caa-a729-a5c13e7dc757"], ["descendant_id", "559fe63f-6470-4caa-a729-a5c13e7dc757"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "559fe63f-6470-4caa-a729-a5c13e7dc757"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "559fe63f-6470-4caa-a729-a5c13e7dc757"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tfbdbdc24904e289a3174c1a12bc8aacd  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "push_type_nodes" SET "status" = $1, "published_at" = $2, "updated_at" = $3 WHERE "push_type_nodes"."id" = $4 [["status", 1], ["published_at", "2015-04-29 16:45:59.683471"], ["updated_at", "2015-04-29 16:45:59.683628"], ["id", "559fe63f-6470-4caa-a729-a5c13e7dc757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------- .published::with published_to dates in the future: test_0001_anonymous ----------------------------------------------------------------------  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:59.689100') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:59.689184')  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-56' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "published_to", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-56"], ["published_at", "2015-04-27 16:45:59.689802"], ["published_to", "2015-04-30 16:45:59.689860"], ["created_at", "2015-04-29 16:45:59.691361"], ["updated_at", "2015-04-29 16:45:59.691361"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t555ac8490cbbe43391a07f8f37cb2350 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "a78d65f4-3381-4228-9b1c-f295fa19837f"], ["descendant_id", "a78d65f4-3381-4228-9b1c-f295fa19837f"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "a78d65f4-3381-4228-9b1c-f295fa19837f"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "a78d65f4-3381-4228-9b1c-f295fa19837f"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tc9d9a9f85c2bea7697ba84b79fd81f84  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:59.689100') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:59.689184')  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- .exposed: test_0001_should scope all exposed nodes --------------------------------------------------  (0.1ms) SELECT COUNT(*) FROM "push_type_nodes"  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-57' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-57"], ["status", 0], ["created_at", "2015-04-29 16:45:59.702951"], ["updated_at", "2015-04-29 16:45:59.702951"]]  (0.2ms) SELECT pg_try_advisory_lock(1213021721,0) AS t1479fa45dcf3314c1dbcbd8231b86596 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "e87017b8-7774-4d85-a7c0-d68a7b983371"], ["descendant_id", "e87017b8-7774-4d85-a7c0-d68a7b983371"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id TestPage Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "e87017b8-7774-4d85-a7c0-d68a7b983371"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "e87017b8-7774-4d85-a7c0-d68a7b983371"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t9b01c69b7f0a45b23004a43d8a16e6e0  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "push_type_nodes"  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- .exposed: test_0002_should omit any unexposed nodes ---------------------------------------------------  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE ("push_type_nodes"."type" != 'TestPage')  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-58' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-58"], ["status", 0], ["created_at", "2015-04-29 16:45:59.714313"], ["updated_at", "2015-04-29 16:45:59.714313"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tcf0e9eabec4a25bcec803cedcbedbbd0 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "0217cbf5-2135-4caf-91da-478553224547"], ["descendant_id", "0217cbf5-2135-4caf-91da-478553224547"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  TestPage Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "0217cbf5-2135-4caf-91da-478553224547"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "0217cbf5-2135-4caf-91da-478553224547"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t4e8e6983e3f5ad6e84ed84abe3e0da7b  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE ("push_type_nodes"."type" != 'TestPage')  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN -------------------------------------------------------------------------------- PushType::Asset::#kind::presentations: test_0001_should detect modern excel docs --------------------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------------------------------- PushType::Asset::#kind::presentations: test_0002_should detect modern legacy excel docs ---------------------------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-59' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "deleted_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-59"], ["deleted_at", "2015-04-29 16:45:59.733105"], ["created_at", "2015-04-29 16:45:59.734851"], ["updated_at", "2015-04-29 16:45:59.734851"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tcaad290557a5d71db29c41c62e586bc1 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "2ecec534-15d5-4b62-b300-1d1a0d1e55c1"], ["descendant_id", "2ecec534-15d5-4b62-b300-1d1a0d1e55c1"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "2ecec534-15d5-4b62-b300-1d1a0d1e55c1"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "2ecec534-15d5-4b62-b300-1d1a0d1e55c1"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tb8da8f68bf8ffbdca27b256ef747bea9  (0.5ms) COMMIT  (0.1ms) BEGIN ------------------------------------------------------------------------------------------- TaxonomiesFrontEndController::GET #show::when taxonomy term does exist: test_0001_anonymous -------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 11' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-60' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 11"], ["slug", "foo-bar-60"], ["created_at", "2015-04-29 16:45:59.745121"], ["updated_at", "2015-04-29 16:45:59.745121"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS tc1cbc2f323a9748631df73c8fccfb2b1 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "7682af17-69b5-43d6-9c72-65a2301d6601"], ["descendant_id", "7682af17-69b5-43d6-9c72-65a2301d6601"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "7682af17-69b5-43d6-9c72-65a2301d6601"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "7682af17-69b5-43d6-9c72-65a2301d6601"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t2ea63ddccad78d258c1245d07c3363b7  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-60"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-60"]] Rendered taxonomies/category.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------- TaxonomiesFrontEndController::GET #show::when taxonomy term does exist: test_0002_anonymous -------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 12' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-61' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 12"], ["slug", "foo-bar-61"], ["created_at", "2015-04-29 16:45:59.758065"], ["updated_at", "2015-04-29 16:45:59.758065"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS tcda5685c5d2cbca9d76a37e82597b8a2 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "23af516c-a884-4eb1-b8bb-45d81a7a2477"], ["descendant_id", "23af516c-a884-4eb1-b8bb-45d81a7a2477"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id  Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "23af516c-a884-4eb1-b8bb-45d81a7a2477"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "23af516c-a884-4eb1-b8bb-45d81a7a2477"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t0cdaad1e31084b7aa11f85294b46a1df  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-61"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-61"]] Rendered taxonomies/category.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------- TaxonomiesFrontEndController::GET #show::when taxonomy term does exist: test_0003_anonymous -------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.2ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 13' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-62' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 13"], ["slug", "foo-bar-62"], ["created_at", "2015-04-29 16:45:59.770794"], ["updated_at", "2015-04-29 16:45:59.770794"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t3043785fe76374f50ac5bbae6a47ca03 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "a1ceafce-a6e5-475e-ac77-a639ab55cbb1"], ["descendant_id", "a1ceafce-a6e5-475e-ac77-a639ab55cbb1"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "a1ceafce-a6e5-475e-ac77-a639ab55cbb1"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "a1ceafce-a6e5-475e-ac77-a639ab55cbb1"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t5edfa61330a128bd06272dda80ca33f1  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"foo-bar-62"} Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "push_type_taxonomies"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "foo-bar-62"]] Rendered taxonomies/category.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN --------------------------------------------------- PushType::Taxonomy::#permalink: test_0001_anonymous ---------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 14' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'one' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Foo Bar 14"], ["slug", "one"], ["created_at", "2015-04-29 16:45:59.783463"], ["updated_at", "2015-04-29 16:45:59.783463"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS tc12d3c9495937cf3ce25370711d751ae SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "c01fff49-4393-4a1a-9c1f-4381645abb2d"], ["descendant_id", "c01fff49-4393-4a1a-9c1f-4381645abb2d"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id  PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "c01fff49-4393-4a1a-9c1f-4381645abb2d"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "c01fff49-4393-4a1a-9c1f-4381645abb2d"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t48b97103aa20c1fff89b366485540387  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 15' AND "push_type_taxonomies"."parent_id" = 'c01fff49-4393-4a1a-9c1f-4381645abb2d') LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'two' AND "push_type_taxonomies"."parent_id" = 'c01fff49-4393-4a1a-9c1f-4381645abb2d') LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Foo Bar 15"], ["slug", "two"], ["parent_id", "c01fff49-4393-4a1a-9c1f-4381645abb2d"], ["created_at", "2015-04-29 16:45:59.790009"], ["updated_at", "2015-04-29 16:45:59.790009"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t35e6c30de887c9cb6c923146449e474c SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "6fe4a833-d6c3-48b8-b9e4-a916b03661aa"], ["descendant_id", "6fe4a833-d6c3-48b8-b9e4-a916b03661aa"], ["generations", 0]]  (0.2ms) INSERT INTO "push_type_taxonomy_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, '6fe4a833-d6c3-48b8-b9e4-a916b03661aa', x.generations + 1 FROM "push_type_taxonomy_hierarchies" x WHERE x.descendant_id = 'c01fff49-4393-4a1a-9c1f-4381645abb2d'  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" = 'c01fff49-4393-4a1a-9c1f-4381645abb2d' ) AS t WHERE "push_type_taxonomies"."id" = t.id  PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "6fe4a833-d6c3-48b8-b9e4-a916b03661aa"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "6fe4a833-d6c3-48b8-b9e4-a916b03661aa"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t5a8828c84d1da20f19211137ce36c184  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 16' AND "push_type_taxonomies"."parent_id" = '6fe4a833-d6c3-48b8-b9e4-a916b03661aa') LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'three' AND "push_type_taxonomies"."parent_id" = '6fe4a833-d6c3-48b8-b9e4-a916b03661aa') LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Foo Bar 16"], ["slug", "three"], ["parent_id", "6fe4a833-d6c3-48b8-b9e4-a916b03661aa"], ["created_at", "2015-04-29 16:45:59.795860"], ["updated_at", "2015-04-29 16:45:59.795860"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS tf57d59b2305ebdc7541840ce0623be96 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "9c36a2e3-f685-4067-9a06-cc350d773abc"], ["descendant_id", "9c36a2e3-f685-4067-9a06-cc350d773abc"], ["generations", 0]]  (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, '9c36a2e3-f685-4067-9a06-cc350d773abc', x.generations + 1 FROM "push_type_taxonomy_hierarchies" x WHERE x.descendant_id = '6fe4a833-d6c3-48b8-b9e4-a916b03661aa'  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" = '6fe4a833-d6c3-48b8-b9e4-a916b03661aa' ) AS t WHERE "push_type_taxonomies"."id" = t.id  PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "9c36a2e3-f685-4067-9a06-cc350d773abc"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "9c36a2e3-f685-4067-9a06-cc350d773abc"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS tc28423be41748c78395a197dba27caf4  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Taxonomy Load (0.2ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" INNER JOIN "push_type_taxonomy_hierarchies" ON "push_type_taxonomies"."id" = "push_type_taxonomy_hierarchies"."ancestor_id" WHERE "push_type_taxonomy_hierarchies"."descendant_id" = $1 ORDER BY "push_type_taxonomy_hierarchies".generations asc [["descendant_id", "9c36a2e3-f685-4067-9a06-cc350d773abc"]]  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.2ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PushType::Taxonomy::#permalink: test_0002_anonymous ---------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 17' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'one' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Foo Bar 17"], ["slug", "one"], ["created_at", "2015-04-29 16:45:59.807334"], ["updated_at", "2015-04-29 16:45:59.807334"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t2949459b9a1369aec0d5a29e54839c01 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "99d7f341-6d93-48ab-aa0d-73be55feeb66"], ["descendant_id", "99d7f341-6d93-48ab-aa0d-73be55feeb66"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "99d7f341-6d93-48ab-aa0d-73be55feeb66"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "99d7f341-6d93-48ab-aa0d-73be55feeb66"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t0460a5a9705bde443a17cf2359eddc88  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 18' AND "push_type_taxonomies"."parent_id" = '99d7f341-6d93-48ab-aa0d-73be55feeb66') LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'two' AND "push_type_taxonomies"."parent_id" = '99d7f341-6d93-48ab-aa0d-73be55feeb66') LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Foo Bar 18"], ["slug", "two"], ["parent_id", "99d7f341-6d93-48ab-aa0d-73be55feeb66"], ["created_at", "2015-04-29 16:45:59.813141"], ["updated_at", "2015-04-29 16:45:59.813141"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t9d96bec0e7aa456acae275e30e256ddf SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "4e72d9b8-e855-4345-8476-0a765baf2062"], ["descendant_id", "4e72d9b8-e855-4345-8476-0a765baf2062"], ["generations", 0]]  (0.2ms) INSERT INTO "push_type_taxonomy_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, '4e72d9b8-e855-4345-8476-0a765baf2062', x.generations + 1 FROM "push_type_taxonomy_hierarchies" x WHERE x.descendant_id = '99d7f341-6d93-48ab-aa0d-73be55feeb66'   (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" = '99d7f341-6d93-48ab-aa0d-73be55feeb66' ) AS t WHERE "push_type_taxonomies"."id" = t.id PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "4e72d9b8-e855-4345-8476-0a765baf2062"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "4e72d9b8-e855-4345-8476-0a765baf2062"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t467d5dd5e42a7792432ab6512bf9fcb4  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 19' AND "push_type_taxonomies"."parent_id" = '4e72d9b8-e855-4345-8476-0a765baf2062') LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'three' AND "push_type_taxonomies"."parent_id" = '4e72d9b8-e855-4345-8476-0a765baf2062') LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Foo Bar 19"], ["slug", "three"], ["parent_id", "4e72d9b8-e855-4345-8476-0a765baf2062"], ["created_at", "2015-04-29 16:45:59.819651"], ["updated_at", "2015-04-29 16:45:59.819651"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS tf42676683ba90a1cf5bdc2e0c99fddcf SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "1f41052d-5e6d-4215-bfcf-74db0f8096e3"], ["descendant_id", "1f41052d-5e6d-4215-bfcf-74db0f8096e3"], ["generations", 0]]  (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, '1f41052d-5e6d-4215-bfcf-74db0f8096e3', x.generations + 1 FROM "push_type_taxonomy_hierarchies" x WHERE x.descendant_id = '4e72d9b8-e855-4345-8476-0a765baf2062'   (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" = '4e72d9b8-e855-4345-8476-0a765baf2062' ) AS t WHERE "push_type_taxonomies"."id" = t.id PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "1f41052d-5e6d-4215-bfcf-74db0f8096e3"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "1f41052d-5e6d-4215-bfcf-74db0f8096e3"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS tcff7c182b1af877c2dd04bcffd0fc24f  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Taxonomy Load (0.2ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" INNER JOIN "push_type_taxonomy_hierarchies" ON "push_type_taxonomies"."id" = "push_type_taxonomy_hierarchies"."ancestor_id" WHERE "push_type_taxonomy_hierarchies"."descendant_id" = $1 ORDER BY "push_type_taxonomy_hierarchies".generations asc [["descendant_id", "1f41052d-5e6d-4215-bfcf-74db0f8096e3"]]  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PushType::Taxonomy::#permalink: test_0003_anonymous ---------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 20' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'one' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "Foo Bar 20"], ["slug", "one"], ["created_at", "2015-04-29 16:45:59.829484"], ["updated_at", "2015-04-29 16:45:59.829484"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS ta3ea68a457f58b42fd795e85ed122b7d SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "6f5fb2dd-784f-4bb0-a109-7dcfdb3f0f6b"], ["descendant_id", "6f5fb2dd-784f-4bb0-a109-7dcfdb3f0f6b"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id  PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "6f5fb2dd-784f-4bb0-a109-7dcfdb3f0f6b"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "6f5fb2dd-784f-4bb0-a109-7dcfdb3f0f6b"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t970dbfc3b8d6d44afe5c6086af02076e  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 21' AND "push_type_taxonomies"."parent_id" = '6f5fb2dd-784f-4bb0-a109-7dcfdb3f0f6b') LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'two' AND "push_type_taxonomies"."parent_id" = '6f5fb2dd-784f-4bb0-a109-7dcfdb3f0f6b') LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Foo Bar 21"], ["slug", "two"], ["parent_id", "6f5fb2dd-784f-4bb0-a109-7dcfdb3f0f6b"], ["created_at", "2015-04-29 16:45:59.834978"], ["updated_at", "2015-04-29 16:45:59.834978"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS t664fa3837f44ab5c677d42c23782c592 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "488eeecd-106c-4290-8fa2-33dfe75e0b68"], ["descendant_id", "488eeecd-106c-4290-8fa2-33dfe75e0b68"], ["generations", 0]]  (0.2ms) INSERT INTO "push_type_taxonomy_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, '488eeecd-106c-4290-8fa2-33dfe75e0b68', x.generations + 1 FROM "push_type_taxonomy_hierarchies" x WHERE x.descendant_id = '6f5fb2dd-784f-4bb0-a109-7dcfdb3f0f6b'  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" = '6f5fb2dd-784f-4bb0-a109-7dcfdb3f0f6b' ) AS t WHERE "push_type_taxonomies"."id" = t.id  PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "488eeecd-106c-4290-8fa2-33dfe75e0b68"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "488eeecd-106c-4290-8fa2-33dfe75e0b68"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t6569ac561cf9ffd2f49dfdcd98f04e22  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 22' AND "push_type_taxonomies"."parent_id" = '488eeecd-106c-4290-8fa2-33dfe75e0b68') LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'three' AND "push_type_taxonomies"."parent_id" = '488eeecd-106c-4290-8fa2-33dfe75e0b68') LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["title", "Foo Bar 22"], ["slug", "three"], ["parent_id", "488eeecd-106c-4290-8fa2-33dfe75e0b68"], ["created_at", "2015-04-29 16:45:59.841079"], ["updated_at", "2015-04-29 16:45:59.841079"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS tcb76ef776cd64bf4c6d1d130b2572fab SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "2e37a991-a15b-4801-99ff-221ea526b4c7"], ["descendant_id", "2e37a991-a15b-4801-99ff-221ea526b4c7"], ["generations", 0]]  (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, '2e37a991-a15b-4801-99ff-221ea526b4c7', x.generations + 1 FROM "push_type_taxonomy_hierarchies" x WHERE x.descendant_id = '488eeecd-106c-4290-8fa2-33dfe75e0b68'  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" = '488eeecd-106c-4290-8fa2-33dfe75e0b68' ) AS t WHERE "push_type_taxonomies"."id" = t.id  PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "2e37a991-a15b-4801-99ff-221ea526b4c7"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "2e37a991-a15b-4801-99ff-221ea526b4c7"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t3bf9fad941a681786c3dead941396142  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Taxonomy Load (0.2ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" INNER JOIN "push_type_taxonomy_hierarchies" ON "push_type_taxonomies"."id" = "push_type_taxonomy_hierarchies"."ancestor_id" WHERE "push_type_taxonomy_hierarchies"."descendant_id" = $1 ORDER BY "push_type_taxonomy_hierarchies".generations asc [["descendant_id", "2e37a991-a15b-4801-99ff-221ea526b4c7"]]  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------ PushType::Node: test_0002_should be valid with required attributes ------------------------------------------------------------------ PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-63' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PushType::Node: test_0001_anonymous ----------------------------------- PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" IS NULL AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- #render_menu: test_0002_anonymous ---------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- #render_menu: test_0001_anonymous ---------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.2ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-64' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-64"], ["created_at", "2015-04-29 16:45:59.878116"], ["updated_at", "2015-04-29 16:45:59.878116"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tdac95d2840e9cfe1cb8a499d7677fce4 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "e28f8289-dd6c-4537-b5e8-8923a8ce5876"], ["descendant_id", "e28f8289-dd6c-4537-b5e8-8923a8ce5876"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "e28f8289-dd6c-4537-b5e8-8923a8ce5876"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "e28f8289-dd6c-4537-b5e8-8923a8ce5876"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t3aafa61d2abe5d4c9c148c4096448c69  (0.6ms) COMMIT  (0.1ms) BEGIN SQL (0.2ms) UPDATE "push_type_nodes" SET "deleted_at" = $1, "updated_at" = $2 WHERE "push_type_nodes"."id" = $3 [["deleted_at", "2015-04-29 16:45:59.883739"], ["updated_at", "2015-04-29 16:45:59.884100"], ["id", "e28f8289-dd6c-4537-b5e8-8923a8ce5876"]]  (0.5ms) COMMIT SQL (0.3ms) UPDATE "push_type_nodes" SET "deleted_at" = '2015-04-29 16:45:59.886194' WHERE "push_type_nodes"."id" IN (SELECT "push_type_nodes"."id" FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."descendant_id" WHERE "push_type_node_hierarchies"."ancestor_id" = $1 AND ("push_type_nodes"."id" != 'e28f8289-dd6c-4537-b5e8-8923a8ce5876') ORDER BY "push_type_node_hierarchies".generations asc, sort_order) [["ancestor_id", "e28f8289-dd6c-4537-b5e8-8923a8ce5876"]]  (0.1ms) BEGIN -------------------------------------------- PushType::Node::#trash!: test_0001_anonymous --------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-65' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-65"], ["created_at", "2015-04-29 16:45:59.889949"], ["updated_at", "2015-04-29 16:45:59.889949"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS td1e3a4a3b92962611bf4e95b66e563e2 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "bb970d6c-722a-4232-aae9-dabbc780ef27"], ["descendant_id", "bb970d6c-722a-4232-aae9-dabbc780ef27"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "bb970d6c-722a-4232-aae9-dabbc780ef27"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "bb970d6c-722a-4232-aae9-dabbc780ef27"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tc7e2d74639525226a4c8575d7b49eed2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-66' AND "push_type_nodes"."parent_id" = 'bb970d6c-722a-4232-aae9-dabbc780ef27') LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-66"], ["parent_id", "bb970d6c-722a-4232-aae9-dabbc780ef27"], ["created_at", "2015-04-29 16:45:59.896061"], ["updated_at", "2015-04-29 16:45:59.896061"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t148092f75edd43fc68d1169ecccd5f20 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "76acf704-a37e-4e95-82b6-8982ab778b07"], ["descendant_id", "76acf704-a37e-4e95-82b6-8982ab778b07"], ["generations", 0]]  (0.2ms) INSERT INTO "push_type_node_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, '76acf704-a37e-4e95-82b6-8982ab778b07', x.generations + 1 FROM "push_type_node_hierarchies" x WHERE x.descendant_id = 'bb970d6c-722a-4232-aae9-dabbc780ef27'   (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" = 'bb970d6c-722a-4232-aae9-dabbc780ef27' ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "76acf704-a37e-4e95-82b6-8982ab778b07"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "76acf704-a37e-4e95-82b6-8982ab778b07"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS ta1f3b492380ee72618d71013fbab0790  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "push_type_nodes" SET "deleted_at" = $1, "updated_at" = $2 WHERE "push_type_nodes"."id" = $3 [["deleted_at", "2015-04-29 16:45:59.901177"], ["updated_at", "2015-04-29 16:45:59.901523"], ["id", "bb970d6c-722a-4232-aae9-dabbc780ef27"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "push_type_nodes" SET "deleted_at" = '2015-04-29 16:45:59.903177' WHERE "push_type_nodes"."id" IN (SELECT "push_type_nodes"."id" FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."descendant_id" WHERE "push_type_node_hierarchies"."ancestor_id" = $1 AND ("push_type_nodes"."id" != 'bb970d6c-722a-4232-aae9-dabbc780ef27') ORDER BY "push_type_node_hierarchies".generations asc, sort_order) [["ancestor_id", "bb970d6c-722a-4232-aae9-dabbc780ef27"]]  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN -------------------------------------------- PushType::Node::#trash!: test_0002_anonymous --------------------------------------------  (0.0ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-67' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-67"], ["created_at", "2015-04-29 16:45:59.907949"], ["updated_at", "2015-04-29 16:45:59.907949"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t4e3bfc67a32cc009966ae4fa0f765297 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "463b8784-a2df-4a01-9d3b-724f3c1205d6"], ["descendant_id", "463b8784-a2df-4a01-9d3b-724f3c1205d6"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "463b8784-a2df-4a01-9d3b-724f3c1205d6"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "463b8784-a2df-4a01-9d3b-724f3c1205d6"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tbd8c3e96c6cdf71e01e224ea612fcd66  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-68' AND "push_type_nodes"."parent_id" = '463b8784-a2df-4a01-9d3b-724f3c1205d6') LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "parent_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 0], ["title", "Foo bar"], ["slug", "foo-bar-68"], ["parent_id", "463b8784-a2df-4a01-9d3b-724f3c1205d6"], ["created_at", "2015-04-29 16:45:59.913660"], ["updated_at", "2015-04-29 16:45:59.913660"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS tec061b80a04ea339b174423b43a2d3ae SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "d0d702eb-5f67-4bd0-9832-14f02388088c"], ["descendant_id", "d0d702eb-5f67-4bd0-9832-14f02388088c"], ["generations", 0]]  (0.2ms) INSERT INTO "push_type_node_hierarchies" (ancestor_id, descendant_id, generations) SELECT x.ancestor_id, 'd0d702eb-5f67-4bd0-9832-14f02388088c', x.generations + 1 FROM "push_type_node_hierarchies" x WHERE x.descendant_id = '463b8784-a2df-4a01-9d3b-724f3c1205d6'   (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" = '463b8784-a2df-4a01-9d3b-724f3c1205d6' ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "d0d702eb-5f67-4bd0-9832-14f02388088c"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "d0d702eb-5f67-4bd0-9832-14f02388088c"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t511f8a41e06af3082a05b2073a2da322  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "push_type_nodes" SET "deleted_at" = $1, "updated_at" = $2 WHERE "push_type_nodes"."id" = $3 [["deleted_at", "2015-04-29 16:45:59.918233"], ["updated_at", "2015-04-29 16:45:59.918569"], ["id", "463b8784-a2df-4a01-9d3b-724f3c1205d6"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "push_type_nodes" SET "deleted_at" = '2015-04-29 16:45:59.920095' WHERE "push_type_nodes"."id" IN (SELECT "push_type_nodes"."id" FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."descendant_id" WHERE "push_type_node_hierarchies"."ancestor_id" = $1 AND ("push_type_nodes"."id" != '463b8784-a2df-4a01-9d3b-724f3c1205d6') ORDER BY "push_type_node_hierarchies".generations asc, sort_order) [["ancestor_id", "463b8784-a2df-4a01-9d3b-724f3c1205d6"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "463b8784-a2df-4a01-9d3b-724f3c1205d6"]]  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PushType::Asset::#kind::code: test_0001_should detect html ----------------------------------------------------------  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------- PushType::Asset::#kind::code: test_0002_should detect javascript ----------------------------------------------------------------  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------- PushType::Asset::#kind::code: test_0003_should detect xml ---------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------------- NodesFrontEndController::GET #show::when node not published: test_0001_anonymous --------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-69' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-69"], ["status", 0], ["created_at", "2015-04-29 16:45:59.938712"], ["updated_at", "2015-04-29 16:45:59.938712"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t082a289511e38d8d1f941f1d4a49d8f0 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "6739ab1b-b961-453d-a4d0-1f322ac759d3"], ["descendant_id", "6739ab1b-b961-453d-a4d0-1f322ac759d3"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "6739ab1b-b961-453d-a4d0-1f322ac759d3"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "6739ab1b-b961-453d-a4d0-1f322ac759d3"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t07c5cfd0b996de4fd15e394929bc5f66  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "6739ab1b-b961-453d-a4d0-1f322ac759d3"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-69"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:45:59.946508') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:45:59.946622') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-69"]] Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------------------------------------------- TaxonomiesFrontEndController::GET #show::when taxonomy term does not exist: test_0001_anonymous -----------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."title" = 'Foo Bar 23' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 PushType::Taxonomy Exists (0.1ms) SELECT 1 AS one FROM "push_type_taxonomies" WHERE ("push_type_taxonomies"."slug" = 'foo-bar-70' AND "push_type_taxonomies"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_taxonomies" ("type", "title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Category"], ["title", "Foo Bar 23"], ["slug", "foo-bar-70"], ["created_at", "2015-04-29 16:45:59.954193"], ["updated_at", "2015-04-29 16:45:59.954193"]]  (0.1ms) SELECT pg_try_advisory_lock(282077433,0) AS taa7a122312228fed5be086eead64f146 SQL (0.1ms) INSERT INTO "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "14ff18dd-45e7-49b9-a927-9fd17680dcb9"], ["descendant_id", "14ff18dd-45e7-49b9-a927-9fd17680dcb9"], ["generations", 0]]  (0.2ms) UPDATE "push_type_taxonomies" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_taxonomies" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_taxonomies"."id" = t.id  Category Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."id" = $1 LIMIT 1 [["id", "14ff18dd-45e7-49b9-a927-9fd17680dcb9"]] PushType::Taxonomy Load (0.1ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" WHERE "push_type_taxonomies"."parent_id" = $1 ORDER BY sort_order [["parent_id", "14ff18dd-45e7-49b9-a927-9fd17680dcb9"]]  (0.1ms) SELECT pg_advisory_unlock(282077433,0) AS t6d96dc2980ed159cbf3f165c922e54ca  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by TaxonomiesFrontEndController#show as HTML Parameters: {"taxonomy"=>"category", "permalink"=>"does/not/exist"} Category Load (0.2ms) SELECT "push_type_taxonomies".* FROM "push_type_taxonomies" INNER JOIN "push_type_taxonomies" AS p0 ON p0."id" = "push_type_taxonomies"."parent_id" INNER JOIN "push_type_taxonomies" AS p1 ON p1."id" = "p0"."parent_id" WHERE "push_type_taxonomies"."type" IN ('Category') AND "push_type_taxonomies"."slug" = $1 AND "p0"."slug" = 'not' AND "p1"."slug" = 'does' AND "p1"."parent_id" IS NULL ORDER BY "push_type_taxonomies"."id" ASC LIMIT 1 [["slug", "exist"]] Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.2ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------- PushType::FieldGenerator: test_0001_anonymous ---------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------------------- #set_default_status: test_0001_anonymous ----------------------------------------  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------------------- PushType::Asset::#kind::documents: test_0001_should detect modern word docs ---------------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------------------------------------------------------------- PushType::Asset::#kind::documents: test_0002_should detect modern legacy word docs ----------------------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------------------- PushType::Asset::#kind::documents: test_0003_should detect plain text files ---------------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------- PushType::Asset::#kind::documents: test_0004_should detect rich text files --------------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (13.6ms) TRUNCATE TABLE "public"."schema_migrations", "public"."push_type_users", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) BEGIN PushType::Node Exists (0.3ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-74' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"body\":\"**foo** *bar*\"}"], ["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-74"], ["status", 0], ["created_at", "2015-04-29 16:46:00.016036"], ["updated_at", "2015-04-29 16:46:00.016036"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS td7c2dbc9fac1ccde48912596dc7edaa7 SQL (0.3ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "145d6d14-252f-424a-8dbb-936e61d0ac00"], ["descendant_id", "145d6d14-252f-424a-8dbb-936e61d0ac00"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "145d6d14-252f-424a-8dbb-936e61d0ac00"]] PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "145d6d14-252f-424a-8dbb-936e61d0ac00"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS te3876057f1ed6300f4284d3deca565b8  (0.4ms) COMMIT  (0.1ms) BEGIN PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-75' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-75"], ["status", 0], ["created_at", "2015-04-29 16:46:00.025466"], ["updated_at", "2015-04-29 16:46:00.025466"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t57e9e785484ef589abb20f83c01ff9e6 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "93bf3b87-4c50-42f9-b2c1-b8f05769ecf8"], ["descendant_id", "93bf3b87-4c50-42f9-b2c1-b8f05769ecf8"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  Page Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "93bf3b87-4c50-42f9-b2c1-b8f05769ecf8"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "93bf3b87-4c50-42f9-b2c1-b8f05769ecf8"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tbc6dc1f94b6a33dab46077a1e3ba5c03  (0.5ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (9.7ms) TRUNCATE TABLE "public"."schema_migrations", "public"."push_type_users", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) BEGIN PushType::Node Exists (0.3ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-76' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.3ms) INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"tags\":[\"foo\",\"bar\"]}"], ["type", "Page"], ["title", "Foo bar"], ["slug", "foo-bar-76"], ["status", 0], ["created_at", "2015-04-29 16:46:00.047777"], ["updated_at", "2015-04-29 16:46:00.047777"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t6f9c2502d4af07e23940ee5b3213e523 SQL (0.3ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "72a456fc-517e-4378-ae18-c41869c42510"], ["descendant_id", "72a456fc-517e-4378-ae18-c41869c42510"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id Page Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('Page') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "72a456fc-517e-4378-ae18-c41869c42510"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "72a456fc-517e-4378-ae18-c41869c42510"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS tc88ab4c410bb2f75f6d55c7e4f96f0ad  (0.4ms) COMMIT  (0.2ms) SELECT DISTINCT jsonb_array_elements_text(field_store->'tags') AS _tag FROM push_type_nodes WHERE push_type_nodes.type IN ('Page') ORDER BY _tag  (0.1ms) BEGIN -------------------------------------------------------------------------------------- PushType::Asset::#kind::spreadsheets: test_0002_should detect modern legacy excel docs --------------------------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.2ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------- PushType::Asset::#kind::spreadsheets: test_0001_should detect modern excel docs -------------------------------------------------------------------------------  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------------- PushType::PresenterGenerator: test_0001_anonymous -------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ------------------------------------------------------- #set_published_at::when publishing: test_0001_anonymous -------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-77' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-77"], ["published_at", "2015-04-29 16:46:00.070842"], ["created_at", "2015-04-29 16:46:00.070964"], ["updated_at", "2015-04-29 16:46:00.070964"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t0dc02333bf51432772e11e3a85f5c295 SQL (0.2ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "eb70f162-66ae-45ce-a108-3e652e7c6ed6"], ["descendant_id", "eb70f162-66ae-45ce-a108-3e652e7c6ed6"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "eb70f162-66ae-45ce-a108-3e652e7c6ed6"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "eb70f162-66ae-45ce-a108-3e652e7c6ed6"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t777cc944626c5cecfef7887005b8e0b7  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) UPDATE "push_type_nodes" SET "status" = $1, "published_at" = $2, "updated_at" = $3 WHERE "push_type_nodes"."id" = $4 [["status", 0], ["published_at", nil], ["updated_at", "2015-04-29 16:46:00.076278"], ["id", "eb70f162-66ae-45ce-a108-3e652e7c6ed6"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------- #render_item: test_0002_anonymous ---------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN --------------------------------- #render_item: test_0001_anonymous ---------------------------------  (0.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN -------------------------------------------------------------------- PushType::Asset::#media::with a geometry string: test_0002_anonymous --------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "30"], ["created_at", "2015-04-29 16:46:00.088921"], ["updated_at", "2015-04-29 16:46:00.088921"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 DRAGONFLY: shell command: 'convert' '/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9669-1u8fv7j' '-resize' '48x56^^' '-gravity' 'Center' '-crop' '48x56+0+0' '+repage' '/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/dragonfly20150429-9669-1eu8n69.png' DRAGONFLY: shell command: 'identify' '-ping' '-format' '%m %w %h' '/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/dragonfly20150429-9669-1eu8n69.png'  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.2ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------- PushType::Asset::#media::with a geometry string: test_0005_anonymous --------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "31"], ["created_at", "2015-04-29 16:46:00.119504"], ["updated_at", "2015-04-29 16:46:00.119504"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------- PushType::Asset::#media::with a geometry string: test_0003_anonymous --------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "32"], ["created_at", "2015-04-29 16:46:00.125163"], ["updated_at", "2015-04-29 16:46:00.125163"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 DRAGONFLY: shell command: 'convert' '/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9669-9p4l8w' '-resize' '48x56^^' '-gravity' 'Center' '-crop' '48x56+0+0' '+repage' '/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/dragonfly20150429-9669-g8zn97.png' DRAGONFLY: shell command: 'identify' '-ping' '-format' '%m %w %h' '/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/dragonfly20150429-9669-g8zn97.png'  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.2ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------- PushType::Asset::#media::with a geometry string: test_0001_anonymous --------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "33"], ["created_at", "2015-04-29 16:46:00.149514"], ["updated_at", "2015-04-29 16:46:00.149514"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN -------------------------------------------------------------------- PushType::Asset::#media::with a geometry string: test_0004_anonymous --------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "34"], ["created_at", "2015-04-29 16:46:00.155461"], ["updated_at", "2015-04-29 16:46:00.155461"], ["file_ext", "png"], ["mime_type", "image/png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------------- .descendants: test_0002_should not include subject when not unexposed ---------------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------------- .descendants: test_0001_should include subject when not unexposed -----------------------------------------------------------------  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------------------------------------- NodesFrontEndController::node filters: test_0005_anonymous ----------------------------------------------------------  (0.3ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-78' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "type", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-78"], ["type", "Page"], ["published_at", "2015-04-29 16:46:00.180233"], ["created_at", "2015-04-29 16:46:00.180371"], ["updated_at", "2015-04-29 16:46:00.180371"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t0e9c04460b9d060d92200dbba46a5d46 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "c21e0d8c-08de-4a76-912f-55a3a538a81a"], ["descendant_id", "c21e0d8c-08de-4a76-912f-55a3a538a81a"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "c21e0d8c-08de-4a76-912f-55a3a538a81a"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "c21e0d8c-08de-4a76-912f-55a3a538a81a"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t600b8115f15c28600041853a7ca61a70  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.4ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "c21e0d8c-08de-4a76-912f-55a3a538a81a"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-78"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:46:00.189903') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:46:00.190017') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-78"]] Rendered nodes/page.html.erb within layouts/application (0.1ms) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- NodesFrontEndController::node filters: test_0004_anonymous ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-79' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "type", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-79"], ["type", "Page"], ["published_at", "2015-04-29 16:46:00.198244"], ["created_at", "2015-04-29 16:46:00.198357"], ["updated_at", "2015-04-29 16:46:00.198357"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t6c9c35de6ba1b690a1343c11e3d67a5b SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "2acce9dc-5e25-4371-bda1-eef47182c8f5"], ["descendant_id", "2acce9dc-5e25-4371-bda1-eef47182c8f5"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "2acce9dc-5e25-4371-bda1-eef47182c8f5"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "2acce9dc-5e25-4371-bda1-eef47182c8f5"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS ta8b004cdabdf20e68500b0ac29cc2e1e  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "2acce9dc-5e25-4371-bda1-eef47182c8f5"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-79"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:46:00.207062') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:46:00.207154') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-79"]] Rendered nodes/page.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------------------------------------- NodesFrontEndController::node filters: test_0001_anonymous ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-80' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "type", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-80"], ["type", "Page"], ["published_at", "2015-04-29 16:46:00.214021"], ["created_at", "2015-04-29 16:46:00.214145"], ["updated_at", "2015-04-29 16:46:00.214145"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t6804ca273c59dfb6084123b3a3726a0d SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "917a07d7-f26a-4eb6-bab6-9d1be2b175d6"], ["descendant_id", "917a07d7-f26a-4eb6-bab6-9d1be2b175d6"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "917a07d7-f26a-4eb6-bab6-9d1be2b175d6"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "917a07d7-f26a-4eb6-bab6-9d1be2b175d6"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t2da31fac66d4973751ad8c6cdf7a640a  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "917a07d7-f26a-4eb6-bab6-9d1be2b175d6"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-80"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:46:00.221703') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:46:00.221795') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-80"]] Rendered nodes/page.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- NodesFrontEndController::node filters: test_0006_anonymous ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-81' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "type", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-81"], ["type", "Page"], ["published_at", "2015-04-29 16:46:00.228415"], ["created_at", "2015-04-29 16:46:00.228523"], ["updated_at", "2015-04-29 16:46:00.228523"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t8613bfca0970a6e45495492b8d07c211 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "3493d239-b6e9-4720-b9ad-30c0fc48f731"], ["descendant_id", "3493d239-b6e9-4720-b9ad-30c0fc48f731"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "3493d239-b6e9-4720-b9ad-30c0fc48f731"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "3493d239-b6e9-4720-b9ad-30c0fc48f731"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t8842df1c0706fd75c43f82f05bbe3299  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "3493d239-b6e9-4720-b9ad-30c0fc48f731"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-81"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:46:00.235464') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:46:00.235555') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-81"]] Rendered nodes/page.html.erb within layouts/application (0.0ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- NodesFrontEndController::node filters: test_0003_anonymous ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-82' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "type", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-82"], ["type", "Page"], ["published_at", "2015-04-29 16:46:00.242530"], ["created_at", "2015-04-29 16:46:00.242644"], ["updated_at", "2015-04-29 16:46:00.242644"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t81c74debb5cb406a648ec7ee250cad44 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "131276c3-80bd-4dd2-90ce-4ba39810fb19"], ["descendant_id", "131276c3-80bd-4dd2-90ce-4ba39810fb19"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "131276c3-80bd-4dd2-90ce-4ba39810fb19"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "131276c3-80bd-4dd2-90ce-4ba39810fb19"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t0f8862facf8e9eee0d468d4627537e94  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "131276c3-80bd-4dd2-90ce-4ba39810fb19"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-82"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:46:00.250206') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:46:00.250298') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-82"]] Rendered nodes/page.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- NodesFrontEndController::node filters: test_0007_anonymous ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-83' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "type", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-83"], ["type", "Page"], ["published_at", "2015-04-29 16:46:00.257558"], ["created_at", "2015-04-29 16:46:00.257696"], ["updated_at", "2015-04-29 16:46:00.257696"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t254b0180e505be6c3be2c421580e5810 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "d817aaac-8d4b-4b75-ba4c-15a5645aa65c"], ["descendant_id", "d817aaac-8d4b-4b75-ba4c-15a5645aa65c"], ["generations", 0]]  (0.2ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "d817aaac-8d4b-4b75-ba4c-15a5645aa65c"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "d817aaac-8d4b-4b75-ba4c-15a5645aa65c"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t1e7fa48a393ebb80f58c3f74dd095cf2  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "d817aaac-8d4b-4b75-ba4c-15a5645aa65c"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-83"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:46:00.265001') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:46:00.265094') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-83"]] Rendered nodes/page.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- NodesFrontEndController::node filters: test_0008_anonymous ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.1ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-84' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.2ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "type", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-84"], ["type", "Page"], ["published_at", "2015-04-29 16:46:00.271777"], ["created_at", "2015-04-29 16:46:00.271934"], ["updated_at", "2015-04-29 16:46:00.271934"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t65253ea56887fc57ed9b36b9bf78d074 SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "7870b492-5093-4bc3-94f1-4acfc524a762"], ["descendant_id", "7870b492-5093-4bc3-94f1-4acfc524a762"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id  PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "7870b492-5093-4bc3-94f1-4acfc524a762"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "7870b492-5093-4bc3-94f1-4acfc524a762"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS te14d1c8b917af4ab892750c5b6e34e53  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "7870b492-5093-4bc3-94f1-4acfc524a762"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-84"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:46:00.279492') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:46:00.279571') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-84"]] Rendered nodes/page.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK  (0.0ms) BEGIN ---------------------------------------------------------- NodesFrontEndController::node filters: test_0002_anonymous ----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 PushType::Node Exists (0.2ms) SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-85' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1 SQL (0.1ms) INSERT INTO "push_type_nodes" ("status", "title", "slug", "type", "published_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["status", 1], ["title", "Foo bar"], ["slug", "foo-bar-85"], ["type", "Page"], ["published_at", "2015-04-29 16:46:00.286387"], ["created_at", "2015-04-29 16:46:00.286509"], ["updated_at", "2015-04-29 16:46:00.286509"]]  (0.1ms) SELECT pg_try_advisory_lock(1213021721,0) AS t82cdc189920a8e4aa290cfa6c606c60e SQL (0.1ms) INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "5bdf1bc6-bc74-469d-821f-c46cafbf2d2a"], ["descendant_id", "5bdf1bc6-bc74-469d-821f-c46cafbf2d2a"], ["generations", 0]]  (0.3ms) UPDATE "push_type_nodes" SET "sort_order" = t.seq + -1 FROM ( SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq FROM "push_type_nodes" WHERE "parent_id" IS NULL ) AS t WHERE "push_type_nodes"."id" = t.id PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."id" = $1 LIMIT 1 [["id", "5bdf1bc6-bc74-469d-821f-c46cafbf2d2a"]] PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "5bdf1bc6-bc74-469d-821f-c46cafbf2d2a"]]  (0.1ms) SELECT pg_advisory_unlock(1213021721,0) AS t65c66b8b87e78786a2bbb906babcdc7b  (0.1ms) RELEASE SAVEPOINT active_record_1 PushType::Node Load (0.1ms) SELECT "push_type_nodes".* FROM "push_type_nodes" INNER JOIN "push_type_node_hierarchies" ON "push_type_nodes"."id" = "push_type_node_hierarchies"."ancestor_id" WHERE "push_type_node_hierarchies"."descendant_id" = $1 ORDER BY "push_type_node_hierarchies".generations asc [["descendant_id", "5bdf1bc6-bc74-469d-821f-c46cafbf2d2a"]] Processing by NodesFrontEndController#show as HTML Parameters: {"permalink"=>"foo-bar-85"} PushType::Node Load (0.2ms) SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."deleted_at" IS NULL AND (push_type_nodes.status = 1 AND push_type_nodes.published_at <= '2015-04-29 16:46:00.293934') AND (push_type_nodes.published_to IS NULL OR push_type_nodes.published_to > '2015-04-29 16:46:00.294045') AND "push_type_nodes"."slug" = $1 AND "push_type_nodes"."parent_id" IS NULL ORDER BY "push_type_nodes"."id" ASC LIMIT 1 [["slug", "foo-bar-85"]] Rendered nodes/page.html.erb within layouts/application (0.1ms) Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL  (0.1ms) DELETE FROM "public"."schema_migrations";  (0.1ms) DELETE FROM "public"."push_type_users";  (0.1ms) DELETE FROM "public"."push_type_nodes";  (0.1ms) DELETE FROM "public"."push_type_node_hierarchies";  (0.1ms) DELETE FROM "public"."push_type_taxonomies";  (0.1ms) DELETE FROM "public"."push_type_assets";  (0.1ms) DELETE FROM "public"."push_type_taxonomy_hierarchies";  (0.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL  (0.1ms) ROLLBACK