push_type_wysiwyg 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150716155055_create_push_type_users.push_type.rb → 20150816155521_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150716155056_create_push_type_nodes.push_type.rb → 20150816155522_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150716155057_create_push_type_node_hierarchies.push_type.rb → 20150816155523_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150716155058_create_push_type_assets.push_type.rb → 20150816155524_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150716155059_create_push_type_taxonomies.push_type.rb → 20150816155525_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150716155060_create_push_type_taxonomy_hierarchies.push_type.rb → 20150816155526_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150716155061_add_field_store_default_values.push_type.rb → 20150816155527_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +588 -588
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BbvLT7G9ojUvtI0HU7G_rmPrIv82rlBK6mQyu158MwU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{Ei2L0uIaXjgl1f2cOn_RAqHa0efsfucFVRKEI72Scpw.cache → iEI8WixZrgmiB_zh_BWlKL7CuC2q7ssPJvlwnAQECoE.cache} +2 -3
- metadata +28 -29
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yQyCExmcScF55PbC62h3j4_x1X37cPjB6OM0Mt9BVP4.cache +0 -1
    
        data/test/dummy/log/test.log
    CHANGED
    
    | @@ -1,56 +1,56 @@ | |
| 1 | 
            -
              [1m[36m ( | 
| 2 | 
            -
              [1m[35m ( | 
| 1 | 
            +
              [1m[36m (12.8ms)[0m  [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
         | 
| 2 | 
            +
              [1m[35m (1.0ms)[0m  CREATE UNIQUE INDEX  "unique_schema_migrations" ON "schema_migrations"  ("version")
         | 
| 3 3 | 
             
              [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
         | 
| 4 | 
            -
            Migrating to CreatePushTypeUsers ( | 
| 4 | 
            +
            Migrating to CreatePushTypeUsers (20150816155521)
         | 
| 5 5 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 6 | 
            -
              [1m[36mSQL ( | 
| 7 | 
            -
              [1m[35m (2. | 
| 8 | 
            -
              [1m[36mSQL (0.2ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", " | 
| 6 | 
            +
              [1m[36mSQL (2.0ms)[0m  [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
         | 
| 7 | 
            +
              [1m[35m (2.6ms)[0m  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) 
         | 
| 8 | 
            +
              [1m[36mSQL (0.2ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20150816155521"]]
         | 
| 9 9 | 
             
              [1m[35m (0.6ms)[0m  COMMIT
         | 
| 10 | 
            -
            Migrating to CreatePushTypeNodes ( | 
| 10 | 
            +
            Migrating to CreatePushTypeNodes (20150816155522)
         | 
| 11 11 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 12 12 | 
             
              [1m[35m (1.9ms)[0m  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) 
         | 
| 13 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", " | 
| 13 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20150816155522"]]
         | 
| 14 14 | 
             
              [1m[35m (0.4ms)[0m  COMMIT
         | 
| 15 | 
            -
            Migrating to CreatePushTypeNodeHierarchies ( | 
| 15 | 
            +
            Migrating to CreatePushTypeNodeHierarchies (20150816155523)
         | 
| 16 16 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 17 | 
            -
              [1m[35m (0. | 
| 18 | 
            -
              [1m[36m (0. | 
| 17 | 
            +
              [1m[35m (0.4ms)[0m  CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
         | 
| 18 | 
            +
              [1m[36m (0.7ms)[0m  [1mCREATE UNIQUE INDEX  "node_anc_desc_idx" ON "push_type_node_hierarchies"  ("ancestor_id", "descendant_id", "generations")[0m
         | 
| 19 19 | 
             
              [1m[35m (0.5ms)[0m  CREATE  INDEX  "node_desc_idx" ON "push_type_node_hierarchies"  ("descendant_id")
         | 
| 20 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", " | 
| 21 | 
            -
              [1m[35m (0. | 
| 22 | 
            -
            Migrating to CreatePushTypeAssets ( | 
| 20 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20150816155523"]]
         | 
| 21 | 
            +
              [1m[35m (0.3ms)[0m  COMMIT
         | 
| 22 | 
            +
            Migrating to CreatePushTypeAssets (20150816155524)
         | 
| 23 23 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 24 | 
            -
              [1m[35m ( | 
| 25 | 
            -
              [1m[36mSQL (0. | 
| 26 | 
            -
              [1m[35m (0. | 
| 27 | 
            -
            Migrating to CreatePushTypeTaxonomies ( | 
| 24 | 
            +
              [1m[35m (2.7ms)[0m  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) 
         | 
| 25 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20150816155524"]]
         | 
| 26 | 
            +
              [1m[35m (0.4ms)[0m  COMMIT
         | 
| 27 | 
            +
            Migrating to CreatePushTypeTaxonomies (20150816155525)
         | 
| 28 28 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 29 | 
            -
              [1m[35m ( | 
| 29 | 
            +
              [1m[35m (2.0ms)[0m  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) 
         | 
| 30 30 | 
             
              [1m[36m (0.2ms)[0m  [1mALTER TABLE "push_type_assets" ADD "tags" character varying[][0m
         | 
| 31 | 
            -
              [1m[35mSQL (0.1ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ($1)  [["version", " | 
| 32 | 
            -
              [1m[36m (0. | 
| 33 | 
            -
            Migrating to CreatePushTypeTaxonomyHierarchies ( | 
| 31 | 
            +
              [1m[35mSQL (0.1ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ($1)  [["version", "20150816155525"]]
         | 
| 32 | 
            +
              [1m[36m (0.3ms)[0m  [1mCOMMIT[0m
         | 
| 33 | 
            +
            Migrating to CreatePushTypeTaxonomyHierarchies (20150816155526)
         | 
| 34 34 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 35 | 
            -
              [1m[36m (0. | 
| 36 | 
            -
              [1m[35m (0. | 
| 35 | 
            +
              [1m[36m (0.6ms)[0m  [1mCREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) [0m
         | 
| 36 | 
            +
              [1m[35m (0.8ms)[0m  CREATE UNIQUE INDEX  "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies"  ("ancestor_id", "descendant_id", "generations")
         | 
| 37 37 | 
             
              [1m[36m (0.6ms)[0m  [1mCREATE  INDEX  "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies"  ("descendant_id")[0m
         | 
| 38 | 
            -
              [1m[35mSQL (0.1ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ($1)  [["version", " | 
| 38 | 
            +
              [1m[35mSQL (0.1ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ($1)  [["version", "20150816155526"]]
         | 
| 39 39 | 
             
              [1m[36m (0.4ms)[0m  [1mCOMMIT[0m
         | 
| 40 | 
            -
            Migrating to AddFieldStoreDefaultValues ( | 
| 40 | 
            +
            Migrating to AddFieldStoreDefaultValues (20150816155527)
         | 
| 41 41 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 42 42 | 
             
              [1m[36m (0.2ms)[0m  [1mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
         | 
| 43 | 
            -
              [1m[35m (0. | 
| 43 | 
            +
              [1m[35m (0.3ms)[0m  ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
         | 
| 44 44 | 
             
              [1m[36m (0.2ms)[0m  [1mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
         | 
| 45 45 | 
             
              [1m[35m (0.1ms)[0m  ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
         | 
| 46 | 
            -
              [1m[36m (0. | 
| 46 | 
            +
              [1m[36m (0.3ms)[0m  [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
         | 
| 47 47 | 
             
              [1m[35m (0.1ms)[0m  ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
         | 
| 48 48 | 
             
              [1m[36m (0.2ms)[0m  [1mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
         | 
| 49 49 | 
             
              [1m[35m (0.2ms)[0m  ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
         | 
| 50 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", " | 
| 51 | 
            -
              [1m[35m (0. | 
| 50 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20150816155527"]]
         | 
| 51 | 
            +
              [1m[35m (0.5ms)[0m  COMMIT
         | 
| 52 52 | 
             
              [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
         | 
| 53 | 
            -
              [1m[35m (1. | 
| 53 | 
            +
              [1m[35m (1.6ms)[0m  SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
         | 
| 54 54 | 
             
            FROM pg_constraint c
         | 
| 55 55 | 
             
            JOIN pg_class t1 ON c.conrelid = t1.oid
         | 
| 56 56 | 
             
            JOIN pg_class t2 ON c.confrelid = t2.oid
         | 
| @@ -98,7 +98,7 @@ WHERE c.contype = 'f' | |
| 98 98 | 
             
              AND t3.nspname = ANY (current_schemas(false))
         | 
| 99 99 | 
             
            ORDER BY c.conname
         | 
| 100 100 | 
             
            [0m
         | 
| 101 | 
            -
              [1m[35m (1. | 
| 101 | 
            +
              [1m[35m (1.4ms)[0m  SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
         | 
| 102 102 | 
             
            FROM pg_constraint c
         | 
| 103 103 | 
             
            JOIN pg_class t1 ON c.conrelid = t1.oid
         | 
| 104 104 | 
             
            JOIN pg_class t2 ON c.confrelid = t2.oid
         | 
| @@ -110,7 +110,7 @@ WHERE c.contype = 'f' | |
| 110 110 | 
             
              AND t3.nspname = ANY (current_schemas(false))
         | 
| 111 111 | 
             
            ORDER BY c.conname
         | 
| 112 112 |  | 
| 113 | 
            -
              [1m[36m (1. | 
| 113 | 
            +
              [1m[36m (1.3ms)[0m  [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
         | 
| 114 114 | 
             
            FROM pg_constraint c
         | 
| 115 115 | 
             
            JOIN pg_class t1 ON c.conrelid = t1.oid
         | 
| 116 116 | 
             
            JOIN pg_class t2 ON c.confrelid = t2.oid
         | 
| @@ -122,616 +122,683 @@ WHERE c.contype = 'f' | |
| 122 122 | 
             
              AND t3.nspname = ANY (current_schemas(false))
         | 
| 123 123 | 
             
            ORDER BY c.conname
         | 
| 124 124 | 
             
            [0m
         | 
| 125 | 
            -
              [1m[36mActiveRecord::SchemaMigration Load (0. | 
| 125 | 
            +
              [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
         | 
| 126 126 | 
             
              [1m[35m (0.4ms)[0m  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
         | 
| 127 | 
            -
              [1m[36m ( | 
| 127 | 
            +
              [1m[36m (0.9ms)[0m  [1m          SELECT schemaname || '.' || tablename
         | 
| 128 128 | 
             
                      FROM pg_tables
         | 
| 129 129 | 
             
                      WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))
         | 
| 130 130 | 
             
            [0m
         | 
| 131 131 | 
             
              [1m[35m (0.9ms)[0m  select table_name from information_schema.views where table_schema = 'dummy_test'
         | 
| 132 | 
            -
              [1m[36m ( | 
| 133 | 
            -
              [1m[35m (0. | 
| 132 | 
            +
              [1m[36m (13.0ms)[0m  [1mTRUNCATE 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;[0m
         | 
| 133 | 
            +
              [1m[35m (0.5ms)[0m  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
         | 
| 134 134 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 135 | 
            -
             | 
| 136 | 
            -
            PushType::WysiwygMediaController::GET #index:: | 
| 137 | 
            -
             | 
| 135 | 
            +
            ---------------------------------------------------------------------------------------
         | 
| 136 | 
            +
            PushType::WysiwygMediaController::GET #index::filtering for images: test_0001_anonymous
         | 
| 137 | 
            +
            ---------------------------------------------------------------------------------------
         | 
| 138 138 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 139 139 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 140 140 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 141 141 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 142 | 
            -
              [1m[35mSQL (0.7ms)[0m  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- | 
| 142 | 
            +
              [1m[35mSQL (0.7ms)[0m  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-08-16 15:55:26.774308"], ["updated_at", "2015-08-16 15:55:26.774308"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 143 143 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 144 144 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 145 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015- | 
| 145 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-08-16 15:55:26.779610"], ["updated_at", "2015-08-16 15:55:26.779610"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 146 146 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 147 147 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 148 | 
            -
              [1m[35mSQL (0. | 
| 148 | 
            +
              [1m[35mSQL (0.1ms)[0m  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-08-16 15:55:26.781927"], ["updated_at", "2015-08-16 15:55:26.781927"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 149 149 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 150 150 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 151 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015- | 
| 151 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015-08-16 15:55:26.784174"], ["updated_at", "2015-08-16 15:55:26.784174"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 152 152 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 153 153 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 154 | 
            -
              [1m[35mSQL (0.1ms)[0m  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- | 
| 154 | 
            +
              [1m[35mSQL (0.1ms)[0m  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-08-16 15:55:26.786359"], ["updated_at", "2015-08-16 15:55:26.786359"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 155 155 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 156 156 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 157 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "6"], ["created_at", "2015- | 
| 157 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "6"], ["created_at", "2015-08-16 15:55:26.788871"], ["updated_at", "2015-08-16 15:55:26.788871"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 158 158 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 159 159 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 160 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "7"], ["created_at", "2015- | 
| 160 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "7"], ["created_at", "2015-08-16 15:55:26.791547"], ["updated_at", "2015-08-16 15:55:26.791547"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 161 161 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 162 162 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 163 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "8"], ["created_at", "2015- | 
| 163 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "8"], ["created_at", "2015-08-16 15:55:26.794015"], ["updated_at", "2015-08-16 15:55:26.794015"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 164 164 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 165 165 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 166 | 
            -
              [1m[35mSQL (0. | 
| 166 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "9"], ["created_at", "2015-08-16 15:55:26.796565"], ["updated_at", "2015-08-16 15:55:26.796565"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 167 167 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 168 168 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 169 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "10"], ["created_at", "2015- | 
| 169 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "10"], ["created_at", "2015-08-16 15:55:26.798885"], ["updated_at", "2015-08-16 15:55:26.798885"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 170 170 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 171 171 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 172 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "11"], ["created_at", "2015- | 
| 172 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "11"], ["created_at", "2015-08-16 15:55:26.801055"], ["updated_at", "2015-08-16 15:55:26.801055"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 173 173 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 174 174 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 175 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "12"], ["created_at", "2015- | 
| 175 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "12"], ["created_at", "2015-08-16 15:55:26.803591"], ["updated_at", "2015-08-16 15:55:26.803591"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 176 176 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 177 177 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 178 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "13"], ["created_at", "2015- | 
| 178 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "13"], ["created_at", "2015-08-16 15:55:26.806450"], ["updated_at", "2015-08-16 15:55:26.806450"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 179 179 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 180 180 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 181 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "14"], ["created_at", "2015- | 
| 181 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "14"], ["created_at", "2015-08-16 15:55:26.808982"], ["updated_at", "2015-08-16 15:55:26.808982"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 182 182 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 183 183 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 184 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "15"], ["created_at", "2015- | 
| 184 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "15"], ["created_at", "2015-08-16 15:55:26.811173"], ["updated_at", "2015-08-16 15:55:26.811173"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 185 185 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 186 186 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 187 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "16"], ["created_at", "2015- | 
| 187 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "16"], ["created_at", "2015-08-16 15:55:26.813189"], ["updated_at", "2015-08-16 15:55:26.813189"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 188 188 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 189 189 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 190 | 
            -
              [1m[35mSQL (0.1ms)[0m  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- | 
| 190 | 
            +
              [1m[35mSQL (0.1ms)[0m  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-08-16 15:55:26.815205"], ["updated_at", "2015-08-16 15:55:26.815205"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 191 191 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 192 192 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 193 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "18"], ["created_at", "2015- | 
| 193 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "18"], ["created_at", "2015-08-16 15:55:26.817462"], ["updated_at", "2015-08-16 15:55:26.817462"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 194 194 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 195 195 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 196 | 
            -
              Parameters: {"filter"=>" | 
| 197 | 
            -
              [1m[36mPushType::Asset Load (0. | 
| 198 | 
            -
              [1m[35m (0.3ms)[0m  SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type  | 
| 199 | 
            -
            Completed 200 OK in  | 
| 196 | 
            +
              Parameters: {"filter"=>"image"}
         | 
| 197 | 
            +
              [1m[36mPushType::Asset Load (0.7ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
         | 
| 198 | 
            +
              [1m[35m (0.3ms)[0m  SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
         | 
| 199 | 
            +
            Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 1.0ms)
         | 
| 200 200 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 201 201 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 202 | 
            -
              [1m[36m (0. | 
| 203 | 
            -
             | 
| 204 | 
            -
            PushType::WysiwygMediaController::GET #index:: | 
| 205 | 
            -
             | 
| 206 | 
            -
              [1m[35m (0. | 
| 202 | 
            +
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 203 | 
            +
            ---------------------------------------------------------------------------------------
         | 
| 204 | 
            +
            PushType::WysiwygMediaController::GET #index::filtering for images: test_0003_anonymous
         | 
| 205 | 
            +
            ---------------------------------------------------------------------------------------
         | 
| 206 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 207 207 | 
             
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 208 208 | 
             
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 209 209 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 210 | 
            -
              [1m[35mSQL (0.2ms)[0m  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", "19"], ["created_at", "2015- | 
| 210 | 
            +
              [1m[35mSQL (0.2ms)[0m  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", "19"], ["created_at", "2015-08-16 15:55:26.837074"], ["updated_at", "2015-08-16 15:55:26.837074"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 211 211 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 212 212 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 213 | 
            -
              [1m[36mSQL (0. | 
| 213 | 
            +
              [1m[36mSQL (0.2ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "20"], ["created_at", "2015-08-16 15:55:26.839705"], ["updated_at", "2015-08-16 15:55:26.839705"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 214 214 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 215 215 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 216 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "21"], ["created_at", "2015- | 
| 216 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "21"], ["created_at", "2015-08-16 15:55:26.841974"], ["updated_at", "2015-08-16 15:55:26.841974"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 217 217 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 218 218 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 219 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "22"], ["created_at", "2015- | 
| 219 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "22"], ["created_at", "2015-08-16 15:55:26.844082"], ["updated_at", "2015-08-16 15:55:26.844082"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 220 220 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 221 221 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 222 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "23"], ["created_at", "2015- | 
| 222 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "23"], ["created_at", "2015-08-16 15:55:26.846146"], ["updated_at", "2015-08-16 15:55:26.846146"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 223 223 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 224 224 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 225 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "24"], ["created_at", "2015- | 
| 225 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "24"], ["created_at", "2015-08-16 15:55:26.848396"], ["updated_at", "2015-08-16 15:55:26.848396"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 226 226 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 227 227 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 228 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "25"], ["created_at", "2015- | 
| 228 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "25"], ["created_at", "2015-08-16 15:55:26.850471"], ["updated_at", "2015-08-16 15:55:26.850471"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 229 229 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 230 230 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 231 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "26"], ["created_at", "2015- | 
| 231 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "26"], ["created_at", "2015-08-16 15:55:26.852784"], ["updated_at", "2015-08-16 15:55:26.852784"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 232 232 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 233 233 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 234 | 
            -
              [1m[35mSQL (0.1ms)[0m  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- | 
| 234 | 
            +
              [1m[35mSQL (0.1ms)[0m  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-08-16 15:55:26.855175"], ["updated_at", "2015-08-16 15:55:26.855175"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 235 235 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 236 236 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 237 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "28"], ["created_at", "2015- | 
| 237 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "28"], ["created_at", "2015-08-16 15:55:26.857395"], ["updated_at", "2015-08-16 15:55:26.857395"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 238 238 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 239 239 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 240 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "29"], ["created_at", "2015- | 
| 240 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "29"], ["created_at", "2015-08-16 15:55:26.859807"], ["updated_at", "2015-08-16 15:55:26.859807"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 241 241 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 242 242 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 243 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "30"], ["created_at", "2015- | 
| 243 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "30"], ["created_at", "2015-08-16 15:55:26.861927"], ["updated_at", "2015-08-16 15:55:26.861927"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 244 244 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 245 245 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 246 | 
            -
              [1m[35mSQL (0.1ms)[0m  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- | 
| 246 | 
            +
              [1m[35mSQL (0.1ms)[0m  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-08-16 15:55:26.864151"], ["updated_at", "2015-08-16 15:55:26.864151"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 247 247 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 248 248 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 249 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "32"], ["created_at", "2015- | 
| 249 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "32"], ["created_at", "2015-08-16 15:55:26.866428"], ["updated_at", "2015-08-16 15:55:26.866428"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 250 250 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 251 251 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 252 | 
            -
              [1m[35mSQL (0.2ms)[0m  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", "33"], ["created_at", "2015- | 
| 252 | 
            +
              [1m[35mSQL (0.2ms)[0m  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", "33"], ["created_at", "2015-08-16 15:55:26.868900"], ["updated_at", "2015-08-16 15:55:26.868900"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 253 253 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 254 254 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 255 | 
            -
              [1m[36mSQL (0. | 
| 255 | 
            +
              [1m[36mSQL (0.2ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "34"], ["created_at", "2015-08-16 15:55:26.871806"], ["updated_at", "2015-08-16 15:55:26.871806"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 256 256 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 257 257 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 258 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "35"], ["created_at", "2015- | 
| 258 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "35"], ["created_at", "2015-08-16 15:55:26.874100"], ["updated_at", "2015-08-16 15:55:26.874100"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 259 259 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 260 260 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 261 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2015- | 
| 261 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2015-08-16 15:55:26.876196"], ["updated_at", "2015-08-16 15:55:26.876196"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 262 262 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 263 263 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 264 | 
            -
              Parameters: {"filter"=>" | 
| 265 | 
            -
              [1m[36mPushType::Asset Load (0. | 
| 266 | 
            -
              [1m[35m (0.1ms)[0m  SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type  | 
| 267 | 
            -
            Completed 200 OK in  | 
| 264 | 
            +
              Parameters: {"filter"=>"image"}
         | 
| 265 | 
            +
              [1m[36mPushType::Asset Load (0.3ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
         | 
| 266 | 
            +
              [1m[35m (0.1ms)[0m  SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
         | 
| 267 | 
            +
            Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.4ms)
         | 
| 268 268 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 269 269 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 270 270 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 271 | 
            -
             | 
| 272 | 
            -
            PushType::WysiwygMediaController::GET #index:: | 
| 273 | 
            -
             | 
| 274 | 
            -
              [1m[35m (0. | 
| 271 | 
            +
            ---------------------------------------------------------------------------------------
         | 
| 272 | 
            +
            PushType::WysiwygMediaController::GET #index::filtering for images: test_0002_anonymous
         | 
| 273 | 
            +
            ---------------------------------------------------------------------------------------
         | 
| 274 | 
            +
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 275 275 | 
             
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 276 276 | 
             
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 277 277 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 278 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "37"], ["created_at", "2015- | 
| 278 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "37"], ["created_at", "2015-08-16 15:55:26.884352"], ["updated_at", "2015-08-16 15:55:26.884352"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 279 279 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 280 280 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 281 | 
            -
              [1m[36mSQL (0. | 
| 281 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "38"], ["created_at", "2015-08-16 15:55:26.886558"], ["updated_at", "2015-08-16 15:55:26.886558"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 282 282 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 283 283 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 284 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "39"], ["created_at", "2015- | 
| 284 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "39"], ["created_at", "2015-08-16 15:55:26.889023"], ["updated_at", "2015-08-16 15:55:26.889023"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 285 285 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 286 286 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 287 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "40"], ["created_at", "2015- | 
| 287 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "40"], ["created_at", "2015-08-16 15:55:26.891182"], ["updated_at", "2015-08-16 15:55:26.891182"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 288 288 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 289 289 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 290 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "41"], ["created_at", "2015- | 
| 290 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "41"], ["created_at", "2015-08-16 15:55:26.893218"], ["updated_at", "2015-08-16 15:55:26.893218"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 291 291 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 292 292 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 293 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "42"], ["created_at", "2015- | 
| 293 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "42"], ["created_at", "2015-08-16 15:55:26.895433"], ["updated_at", "2015-08-16 15:55:26.895433"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 294 294 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 295 295 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 296 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "43"], ["created_at", "2015- | 
| 296 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "43"], ["created_at", "2015-08-16 15:55:26.897632"], ["updated_at", "2015-08-16 15:55:26.897632"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 297 297 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 298 298 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 299 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "44"], ["created_at", "2015- | 
| 299 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "44"], ["created_at", "2015-08-16 15:55:26.899888"], ["updated_at", "2015-08-16 15:55:26.899888"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 300 300 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 301 301 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 302 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "45"], ["created_at", "2015- | 
| 302 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "45"], ["created_at", "2015-08-16 15:55:26.901917"], ["updated_at", "2015-08-16 15:55:26.901917"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 303 303 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 304 304 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 305 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "46"], ["created_at", "2015- | 
| 305 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "46"], ["created_at", "2015-08-16 15:55:26.904071"], ["updated_at", "2015-08-16 15:55:26.904071"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 306 306 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 307 307 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 308 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "47"], ["created_at", "2015- | 
| 308 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "47"], ["created_at", "2015-08-16 15:55:26.906544"], ["updated_at", "2015-08-16 15:55:26.906544"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 309 309 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 310 310 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 311 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "48"], ["created_at", "2015- | 
| 311 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "48"], ["created_at", "2015-08-16 15:55:26.908686"], ["updated_at", "2015-08-16 15:55:26.908686"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 312 312 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 313 313 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 314 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "49"], ["created_at", "2015- | 
| 314 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "49"], ["created_at", "2015-08-16 15:55:26.910888"], ["updated_at", "2015-08-16 15:55:26.910888"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 315 315 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 316 316 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 317 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "50"], ["created_at", "2015- | 
| 317 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "50"], ["created_at", "2015-08-16 15:55:26.912949"], ["updated_at", "2015-08-16 15:55:26.912949"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 318 318 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 319 319 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 320 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "51"], ["created_at", "2015- | 
| 320 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "51"], ["created_at", "2015-08-16 15:55:26.915023"], ["updated_at", "2015-08-16 15:55:26.915023"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 321 321 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 322 322 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 323 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "52"], ["created_at", "2015- | 
| 323 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "52"], ["created_at", "2015-08-16 15:55:26.917262"], ["updated_at", "2015-08-16 15:55:26.917262"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 324 324 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 325 325 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 326 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "53"], ["created_at", "2015- | 
| 326 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "53"], ["created_at", "2015-08-16 15:55:26.919289"], ["updated_at", "2015-08-16 15:55:26.919289"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 327 327 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 328 328 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 329 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015- | 
| 329 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015-08-16 15:55:26.921460"], ["updated_at", "2015-08-16 15:55:26.921460"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 330 330 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 331 331 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 332 | 
            -
              Parameters: {"filter"=>" | 
| 333 | 
            -
              [1m[36mPushType::Asset Load (0.3ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type  | 
| 334 | 
            -
              [1m[35m (0.2ms)[0m  SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type  | 
| 335 | 
            -
            Completed 200 OK in 3ms (Views: 0. | 
| 332 | 
            +
              Parameters: {"filter"=>"image"}
         | 
| 333 | 
            +
              [1m[36mPushType::Asset Load (0.3ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
         | 
| 334 | 
            +
              [1m[35m (0.2ms)[0m  SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
         | 
| 335 | 
            +
            Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
         | 
| 336 336 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 337 | 
            -
              [1m[35m (0. | 
| 337 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 338 338 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 339 | 
            -
             | 
| 340 | 
            -
            PushType::WysiwygMediaController::GET #index:: | 
| 341 | 
            -
             | 
| 342 | 
            -
              [1m[35m (0. | 
| 343 | 
            -
              [1m[36m (0. | 
| 344 | 
            -
              [1m[35m (0. | 
| 339 | 
            +
            ---------------------------------------------------------------------------------------
         | 
| 340 | 
            +
            PushType::WysiwygMediaController::GET #index::filtering for images: test_0004_anonymous
         | 
| 341 | 
            +
            ---------------------------------------------------------------------------------------
         | 
| 342 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 343 | 
            +
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 344 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 345 345 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 346 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "55"], ["created_at", "2015- | 
| 346 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "55"], ["created_at", "2015-08-16 15:55:26.929927"], ["updated_at", "2015-08-16 15:55:26.929927"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 347 347 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 348 348 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 349 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "56"], ["created_at", "2015- | 
| 349 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "56"], ["created_at", "2015-08-16 15:55:26.932119"], ["updated_at", "2015-08-16 15:55:26.932119"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 350 350 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 351 351 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 352 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "57"], ["created_at", "2015- | 
| 352 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "57"], ["created_at", "2015-08-16 15:55:26.934220"], ["updated_at", "2015-08-16 15:55:26.934220"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 353 353 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 354 354 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 355 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "58"], ["created_at", "2015- | 
| 355 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "58"], ["created_at", "2015-08-16 15:55:26.936269"], ["updated_at", "2015-08-16 15:55:26.936269"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 356 356 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 357 357 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 358 | 
            -
              [1m[35mSQL (0. | 
| 358 | 
            +
              [1m[35mSQL (0.2ms)[0m  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", "59"], ["created_at", "2015-08-16 15:55:26.938492"], ["updated_at", "2015-08-16 15:55:26.938492"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 359 359 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 360 360 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 361 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "60"], ["created_at", "2015- | 
| 361 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "60"], ["created_at", "2015-08-16 15:55:26.940990"], ["updated_at", "2015-08-16 15:55:26.940990"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 362 362 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 363 363 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 364 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "61"], ["created_at", "2015- | 
| 364 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "61"], ["created_at", "2015-08-16 15:55:26.943127"], ["updated_at", "2015-08-16 15:55:26.943127"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 365 365 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 366 366 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 367 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "62"], ["created_at", "2015- | 
| 367 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "62"], ["created_at", "2015-08-16 15:55:26.945177"], ["updated_at", "2015-08-16 15:55:26.945177"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 368 368 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 369 369 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 370 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "63"], ["created_at", "2015- | 
| 370 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "63"], ["created_at", "2015-08-16 15:55:26.947286"], ["updated_at", "2015-08-16 15:55:26.947286"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 371 371 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 372 372 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 373 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015- | 
| 373 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015-08-16 15:55:26.949447"], ["updated_at", "2015-08-16 15:55:26.949447"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 374 374 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 375 375 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 376 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "65"], ["created_at", "2015- | 
| 376 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "65"], ["created_at", "2015-08-16 15:55:26.951663"], ["updated_at", "2015-08-16 15:55:26.951663"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 377 377 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 378 378 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 379 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "66"], ["created_at", "2015- | 
| 379 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "66"], ["created_at", "2015-08-16 15:55:26.953888"], ["updated_at", "2015-08-16 15:55:26.953888"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 380 380 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 381 381 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 382 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "67"], ["created_at", "2015- | 
| 382 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "67"], ["created_at", "2015-08-16 15:55:26.956031"], ["updated_at", "2015-08-16 15:55:26.956031"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 383 383 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 384 384 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 385 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "68"], ["created_at", "2015- | 
| 385 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "68"], ["created_at", "2015-08-16 15:55:26.958168"], ["updated_at", "2015-08-16 15:55:26.958168"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 386 386 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 387 387 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 388 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "69"], ["created_at", "2015- | 
| 388 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "69"], ["created_at", "2015-08-16 15:55:26.960197"], ["updated_at", "2015-08-16 15:55:26.960197"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 389 389 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 390 390 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 391 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "70"], ["created_at", "2015- | 
| 391 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "70"], ["created_at", "2015-08-16 15:55:26.962352"], ["updated_at", "2015-08-16 15:55:26.962352"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 392 392 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 393 393 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 394 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "71"], ["created_at", "2015- | 
| 394 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "71"], ["created_at", "2015-08-16 15:55:26.964358"], ["updated_at", "2015-08-16 15:55:26.964358"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 395 395 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 396 396 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 397 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2015- | 
| 397 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2015-08-16 15:55:26.966362"], ["updated_at", "2015-08-16 15:55:26.966362"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 398 398 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 399 399 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 400 | 
            -
              Parameters: {"filter"=>" | 
| 401 | 
            -
              [1m[36mPushType::Asset Load (0.3ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type  | 
| 402 | 
            -
              [1m[35m (0.2ms)[0m  SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type  | 
| 403 | 
            -
            Completed 200 OK in 3ms (Views: 0. | 
| 400 | 
            +
              Parameters: {"filter"=>"image"}
         | 
| 401 | 
            +
              [1m[36mPushType::Asset Load (0.3ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
         | 
| 402 | 
            +
              [1m[35m (0.2ms)[0m  SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
         | 
| 403 | 
            +
            Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
         | 
| 404 404 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 405 405 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 406 406 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 407 | 
            -
             | 
| 408 | 
            -
            PushType:: | 
| 409 | 
            -
             | 
| 410 | 
            -
              [1m[35m (0. | 
| 407 | 
            +
            ----------------------------------------------------------------------
         | 
| 408 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
         | 
| 409 | 
            +
            ----------------------------------------------------------------------
         | 
| 410 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 411 411 | 
             
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 412 412 | 
             
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 413 | 
            -
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 414 | 
            -
              Parameters: {"asset"=>{}}
         | 
| 415 413 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 416 | 
            -
              [1m[ | 
| 417 | 
            -
             | 
| 414 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "73"], ["created_at", "2015-08-16 15:55:26.975832"], ["updated_at", "2015-08-16 15:55:26.975832"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 415 | 
            +
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 416 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 417 | 
            +
              [1m[36m (0.2ms)[0m  [1mROLLBACK[0m
         | 
| 418 | 
            +
              [1m[35m (0.0ms)[0m  BEGIN
         | 
| 419 | 
            +
            ----------------------------------------------------------------------
         | 
| 420 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
         | 
| 421 | 
            +
            ----------------------------------------------------------------------
         | 
| 422 | 
            +
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 423 | 
            +
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 424 | 
            +
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 425 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 426 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "74"], ["created_at", "2015-08-16 15:55:26.980044"], ["updated_at", "2015-08-16 15:55:26.980044"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 427 | 
            +
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 418 428 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 419 429 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 420 430 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 421 | 
            -
             | 
| 422 | 
            -
            PushType:: | 
| 423 | 
            -
             | 
| 424 | 
            -
              [1m[35m (0. | 
| 431 | 
            +
            ----------------------------------------------------------------------
         | 
| 432 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
         | 
| 433 | 
            +
            ----------------------------------------------------------------------
         | 
| 434 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 425 435 | 
             
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 426 436 | 
             
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 427 | 
            -
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 428 | 
            -
              Parameters: {"asset"=>{}}
         | 
| 429 437 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 430 | 
            -
              [1m[ | 
| 431 | 
            -
             | 
| 438 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "75"], ["created_at", "2015-08-16 15:55:26.983713"], ["updated_at", "2015-08-16 15:55:26.983713"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 439 | 
            +
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 440 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 441 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 442 | 
            +
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 443 | 
            +
            ----------------------------------------------------------------------
         | 
| 444 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
         | 
| 445 | 
            +
            ----------------------------------------------------------------------
         | 
| 446 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 447 | 
            +
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 448 | 
            +
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 449 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 450 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "76"], ["created_at", "2015-08-16 15:55:26.987677"], ["updated_at", "2015-08-16 15:55:26.987677"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 451 | 
            +
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 432 452 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 433 453 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 434 | 
            -
              [1m[36m (0. | 
| 435 | 
            -
             | 
| 436 | 
            -
            PushType:: | 
| 437 | 
            -
             | 
| 454 | 
            +
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 455 | 
            +
            ----------------------------------------------------------------------
         | 
| 456 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
         | 
| 457 | 
            +
            ----------------------------------------------------------------------
         | 
| 438 458 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 439 | 
            -
              [1m[36m (0. | 
| 459 | 
            +
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 440 460 | 
             
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 441 | 
            -
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 442 | 
            -
              Parameters: {"asset"=>{}}
         | 
| 443 461 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 444 | 
            -
              [1m[ | 
| 445 | 
            -
             | 
| 462 | 
            +
              [1m[35mSQL (0.4ms)[0m  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", "77"], ["created_at", "2015-08-16 15:55:26.991949"], ["updated_at", "2015-08-16 15:55:26.991949"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 463 | 
            +
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 464 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 465 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 466 | 
            +
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 467 | 
            +
            ----------------------------------------------------------------------
         | 
| 468 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
         | 
| 469 | 
            +
            ----------------------------------------------------------------------
         | 
| 470 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 471 | 
            +
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 472 | 
            +
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 473 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 474 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "78"], ["created_at", "2015-08-16 15:55:26.996108"], ["updated_at", "2015-08-16 15:55:26.996108"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 475 | 
            +
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 446 476 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 447 477 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 448 478 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 449 | 
            -
             | 
| 450 | 
            -
            PushType:: | 
| 451 | 
            -
             | 
| 452 | 
            -
              [1m[35m (0. | 
| 479 | 
            +
            ----------------------------------------------------------------------
         | 
| 480 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
         | 
| 481 | 
            +
            ----------------------------------------------------------------------
         | 
| 482 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 453 483 | 
             
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 454 | 
            -
              [1m[35m (0. | 
| 455 | 
            -
              [1m[36m (0. | 
| 484 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 485 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 486 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "79"], ["created_at", "2015-08-16 15:55:27.000210"], ["updated_at", "2015-08-16 15:55:27.000210"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 487 | 
            +
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 488 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 489 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 490 | 
            +
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 491 | 
            +
            ----------------------------------------------------------------------------------------
         | 
| 492 | 
            +
            PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0001_anonymous
         | 
| 493 | 
            +
            ----------------------------------------------------------------------------------------
         | 
| 494 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 495 | 
            +
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 496 | 
            +
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 456 497 | 
             
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 457 | 
            -
              Parameters: {"asset"=>{ | 
| 498 | 
            +
              Parameters: {"asset"=>{}}
         | 
| 458 499 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 459 | 
            -
              [1m[ | 
| 460 | 
            -
             | 
| 461 | 
            -
            Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
         | 
| 462 | 
            -
              [1m[36m (0.1ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets"[0m
         | 
| 500 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_2[0m
         | 
| 501 | 
            +
            Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.2ms)
         | 
| 463 502 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 464 503 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 465 504 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 466 | 
            -
             | 
| 467 | 
            -
            PushType::WysiwygMediaController:: | 
| 468 | 
            -
             | 
| 505 | 
            +
            ----------------------------------------------------------------------------------------
         | 
| 506 | 
            +
            PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
         | 
| 507 | 
            +
            ----------------------------------------------------------------------------------------
         | 
| 469 508 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 470 509 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 471 510 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 511 | 
            +
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 512 | 
            +
              Parameters: {"asset"=>{}}
         | 
| 513 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 514 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_2[0m
         | 
| 515 | 
            +
            Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
         | 
| 516 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 517 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 518 | 
            +
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 519 | 
            +
            ----------------------------------------------------------------------------------------
         | 
| 520 | 
            +
            PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
         | 
| 521 | 
            +
            ----------------------------------------------------------------------------------------
         | 
| 522 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 523 | 
            +
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 524 | 
            +
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 525 | 
            +
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 526 | 
            +
              Parameters: {"asset"=>{}}
         | 
| 527 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 528 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_2[0m
         | 
| 529 | 
            +
            Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
         | 
| 530 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 531 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 532 | 
            +
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 533 | 
            +
            ----------------------------------------------------------------------------------
         | 
| 534 | 
            +
            PushType::WysiwygMediaController::GET #index::with pagination: test_0001_anonymous
         | 
| 535 | 
            +
            ----------------------------------------------------------------------------------
         | 
| 536 | 
            +
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 537 | 
            +
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 538 | 
            +
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 472 539 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 473 | 
            -
              [1m[36mSQL (0. | 
| 540 | 
            +
              [1m[36mSQL (0.2ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "80"], ["created_at", "2015-08-16 15:55:27.025523"], ["updated_at", "2015-08-16 15:55:27.025523"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 474 541 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 475 542 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 476 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 543 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "81"], ["created_at", "2015-08-16 15:55:27.027846"], ["updated_at", "2015-08-16 15:55:27.027846"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 477 544 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 478 545 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 479 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 546 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "82"], ["created_at", "2015-08-16 15:55:27.030003"], ["updated_at", "2015-08-16 15:55:27.030003"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 480 547 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 481 548 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 482 | 
            -
              [1m[35mSQL (0. | 
| 549 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "83"], ["created_at", "2015-08-16 15:55:27.032124"], ["updated_at", "2015-08-16 15:55:27.032124"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 483 550 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 484 551 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 485 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 552 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "84"], ["created_at", "2015-08-16 15:55:27.034129"], ["updated_at", "2015-08-16 15:55:27.034129"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 486 553 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 487 554 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 488 | 
            -
              [1m[35mSQL (0. | 
| 555 | 
            +
              [1m[35mSQL (0.2ms)[0m  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", "85"], ["created_at", "2015-08-16 15:55:27.036375"], ["updated_at", "2015-08-16 15:55:27.036375"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 489 556 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 490 557 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 491 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 558 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "86"], ["created_at", "2015-08-16 15:55:27.039052"], ["updated_at", "2015-08-16 15:55:27.039052"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 492 559 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 493 560 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 494 | 
            -
              [1m[35mSQL (0. | 
| 561 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "87"], ["created_at", "2015-08-16 15:55:27.041532"], ["updated_at", "2015-08-16 15:55:27.041532"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 495 562 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 496 563 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 497 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 564 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "88"], ["created_at", "2015-08-16 15:55:27.043701"], ["updated_at", "2015-08-16 15:55:27.043701"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 498 565 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 499 566 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 500 | 
            -
              [1m[35mSQL (0. | 
| 567 | 
            +
              [1m[35mSQL (0.2ms)[0m  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", "89"], ["created_at", "2015-08-16 15:55:27.045985"], ["updated_at", "2015-08-16 15:55:27.045985"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 501 568 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 502 569 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 503 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 504 | 
            -
              [1m[35m (0. | 
| 570 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "90"], ["created_at", "2015-08-16 15:55:27.048394"], ["updated_at", "2015-08-16 15:55:27.048394"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 571 | 
            +
              [1m[35m (0.2ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 505 572 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 506 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 573 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "91"], ["created_at", "2015-08-16 15:55:27.050670"], ["updated_at", "2015-08-16 15:55:27.050670"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 507 574 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 508 575 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 509 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 576 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "92"], ["created_at", "2015-08-16 15:55:27.052732"], ["updated_at", "2015-08-16 15:55:27.052732"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 510 577 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 511 578 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 512 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 579 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "93"], ["created_at", "2015-08-16 15:55:27.055115"], ["updated_at", "2015-08-16 15:55:27.055115"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 513 580 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 514 581 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 515 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 582 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "94"], ["created_at", "2015-08-16 15:55:27.057432"], ["updated_at", "2015-08-16 15:55:27.057432"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 516 583 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 517 584 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 518 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 585 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "95"], ["created_at", "2015-08-16 15:55:27.059616"], ["updated_at", "2015-08-16 15:55:27.059616"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 519 586 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 520 587 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 521 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 588 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "96"], ["created_at", "2015-08-16 15:55:27.061784"], ["updated_at", "2015-08-16 15:55:27.061784"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 522 589 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 523 590 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 524 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 591 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "97"], ["created_at", "2015-08-16 15:55:27.063864"], ["updated_at", "2015-08-16 15:55:27.063864"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 525 592 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 526 593 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 527 | 
            -
              Parameters: {"filter"=>" | 
| 528 | 
            -
              [1m[35mPushType::Asset Load (0.3ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET  | 
| 529 | 
            -
              [1m[36m (0. | 
| 530 | 
            -
            Completed 200 OK in  | 
| 594 | 
            +
              Parameters: {"filter"=>"file", "page"=>2}
         | 
| 595 | 
            +
              [1m[35mPushType::Asset Load (0.3ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
         | 
| 596 | 
            +
              [1m[36m (0.3ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
         | 
| 597 | 
            +
            Completed 200 OK in 110ms (Views: 0.2ms | ActiveRecord: 0.6ms)
         | 
| 531 598 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 532 599 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 533 | 
            -
              [1m[35m (0. | 
| 534 | 
            -
             | 
| 535 | 
            -
            PushType::WysiwygMediaController::GET #index:: | 
| 536 | 
            -
             | 
| 537 | 
            -
              [1m[36m (0. | 
| 538 | 
            -
              [1m[35m (0. | 
| 600 | 
            +
              [1m[35m (0.0ms)[0m  BEGIN
         | 
| 601 | 
            +
            ----------------------------------------------------------------------------------
         | 
| 602 | 
            +
            PushType::WysiwygMediaController::GET #index::with pagination: test_0002_anonymous
         | 
| 603 | 
            +
            ----------------------------------------------------------------------------------
         | 
| 604 | 
            +
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 605 | 
            +
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 539 606 | 
             
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 540 607 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 541 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 608 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "98"], ["created_at", "2015-08-16 15:55:27.179346"], ["updated_at", "2015-08-16 15:55:27.179346"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 542 609 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 543 610 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 544 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 611 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "99"], ["created_at", "2015-08-16 15:55:27.181725"], ["updated_at", "2015-08-16 15:55:27.181725"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 545 612 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 546 613 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 547 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 614 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "100"], ["created_at", "2015-08-16 15:55:27.183891"], ["updated_at", "2015-08-16 15:55:27.183891"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 548 615 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 549 616 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 550 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 617 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "101"], ["created_at", "2015-08-16 15:55:27.185926"], ["updated_at", "2015-08-16 15:55:27.185926"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 551 618 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 552 619 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 553 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 620 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "102"], ["created_at", "2015-08-16 15:55:27.188012"], ["updated_at", "2015-08-16 15:55:27.188012"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 554 621 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 555 622 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 556 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 623 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "103"], ["created_at", "2015-08-16 15:55:27.190172"], ["updated_at", "2015-08-16 15:55:27.190172"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 557 624 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 558 625 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 559 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 626 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "104"], ["created_at", "2015-08-16 15:55:27.192190"], ["updated_at", "2015-08-16 15:55:27.192190"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 560 627 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 561 628 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 562 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 629 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "105"], ["created_at", "2015-08-16 15:55:27.194253"], ["updated_at", "2015-08-16 15:55:27.194253"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 563 630 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 564 631 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 565 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 632 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "106"], ["created_at", "2015-08-16 15:55:27.196447"], ["updated_at", "2015-08-16 15:55:27.196447"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 566 633 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 567 634 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 568 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 635 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "107"], ["created_at", "2015-08-16 15:55:27.198443"], ["updated_at", "2015-08-16 15:55:27.198443"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 569 636 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 570 637 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 571 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 638 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "108"], ["created_at", "2015-08-16 15:55:27.200421"], ["updated_at", "2015-08-16 15:55:27.200421"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 572 639 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 573 640 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 574 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 641 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "109"], ["created_at", "2015-08-16 15:55:27.202443"], ["updated_at", "2015-08-16 15:55:27.202443"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 575 642 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 576 643 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 577 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 644 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "110"], ["created_at", "2015-08-16 15:55:27.204571"], ["updated_at", "2015-08-16 15:55:27.204571"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 578 645 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 579 646 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 580 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 647 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "111"], ["created_at", "2015-08-16 15:55:27.206824"], ["updated_at", "2015-08-16 15:55:27.206824"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 581 648 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 582 649 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 583 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 650 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "112"], ["created_at", "2015-08-16 15:55:27.208971"], ["updated_at", "2015-08-16 15:55:27.208971"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 584 651 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 585 652 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 586 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 653 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "113"], ["created_at", "2015-08-16 15:55:27.211020"], ["updated_at", "2015-08-16 15:55:27.211020"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 587 654 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 588 655 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 589 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 656 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "114"], ["created_at", "2015-08-16 15:55:27.213193"], ["updated_at", "2015-08-16 15:55:27.213193"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 590 657 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 591 658 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 592 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 659 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "115"], ["created_at", "2015-08-16 15:55:27.215279"], ["updated_at", "2015-08-16 15:55:27.215279"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 593 660 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 594 661 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 595 | 
            -
              Parameters: {"filter"=>" | 
| 596 | 
            -
              [1m[35mPushType::Asset Load (0. | 
| 597 | 
            -
              [1m[36m (0.2ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
         | 
| 598 | 
            -
            Completed 200 OK in 3ms (Views: 0. | 
| 662 | 
            +
              Parameters: {"filter"=>"file", "page"=>2}
         | 
| 663 | 
            +
              [1m[35mPushType::Asset Load (0.2ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
         | 
| 664 | 
            +
              [1m[36m (0.2ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
         | 
| 665 | 
            +
            Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
         | 
| 599 666 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 600 667 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 601 668 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 602 | 
            -
             | 
| 603 | 
            -
            PushType::WysiwygMediaController::GET #index:: | 
| 604 | 
            -
             | 
| 669 | 
            +
            ----------------------------------------------------------------------------------
         | 
| 670 | 
            +
            PushType::WysiwygMediaController::GET #index::with pagination: test_0003_anonymous
         | 
| 671 | 
            +
            ----------------------------------------------------------------------------------
         | 
| 605 672 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 606 673 | 
             
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 607 | 
            -
              [1m[36m (0. | 
| 674 | 
            +
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 608 675 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 609 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 676 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "116"], ["created_at", "2015-08-16 15:55:27.222629"], ["updated_at", "2015-08-16 15:55:27.222629"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 610 677 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 611 678 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 612 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 679 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "117"], ["created_at", "2015-08-16 15:55:27.224866"], ["updated_at", "2015-08-16 15:55:27.224866"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 613 680 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 614 681 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 615 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 682 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "118"], ["created_at", "2015-08-16 15:55:27.226965"], ["updated_at", "2015-08-16 15:55:27.226965"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 616 683 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 617 684 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 618 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 685 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "119"], ["created_at", "2015-08-16 15:55:27.228936"], ["updated_at", "2015-08-16 15:55:27.228936"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 619 686 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 620 687 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 621 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 688 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "120"], ["created_at", "2015-08-16 15:55:27.230928"], ["updated_at", "2015-08-16 15:55:27.230928"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 622 689 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 623 690 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 624 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 691 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "121"], ["created_at", "2015-08-16 15:55:27.233011"], ["updated_at", "2015-08-16 15:55:27.233011"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 625 692 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 626 693 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 627 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 694 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "122"], ["created_at", "2015-08-16 15:55:27.234967"], ["updated_at", "2015-08-16 15:55:27.234967"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 628 695 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 629 696 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 630 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 697 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "123"], ["created_at", "2015-08-16 15:55:27.237086"], ["updated_at", "2015-08-16 15:55:27.237086"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 631 698 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 632 699 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 633 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 700 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "124"], ["created_at", "2015-08-16 15:55:27.239162"], ["updated_at", "2015-08-16 15:55:27.239162"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 634 701 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 635 702 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 636 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 703 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "125"], ["created_at", "2015-08-16 15:55:27.241261"], ["updated_at", "2015-08-16 15:55:27.241261"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 637 704 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 638 705 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 639 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 706 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "126"], ["created_at", "2015-08-16 15:55:27.243358"], ["updated_at", "2015-08-16 15:55:27.243358"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 640 707 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 641 708 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 642 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 709 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "127"], ["created_at", "2015-08-16 15:55:27.245375"], ["updated_at", "2015-08-16 15:55:27.245375"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 643 710 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 644 711 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 645 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 712 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "128"], ["created_at", "2015-08-16 15:55:27.247328"], ["updated_at", "2015-08-16 15:55:27.247328"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 646 713 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 647 714 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 648 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 715 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "129"], ["created_at", "2015-08-16 15:55:27.249237"], ["updated_at", "2015-08-16 15:55:27.249237"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 649 716 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 650 717 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 651 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 718 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "130"], ["created_at", "2015-08-16 15:55:27.251342"], ["updated_at", "2015-08-16 15:55:27.251342"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 652 719 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 653 720 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 654 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 721 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "131"], ["created_at", "2015-08-16 15:55:27.253679"], ["updated_at", "2015-08-16 15:55:27.253679"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 655 722 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 656 723 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 657 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 724 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "132"], ["created_at", "2015-08-16 15:55:27.255966"], ["updated_at", "2015-08-16 15:55:27.255966"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 658 725 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 659 726 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 660 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 727 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "133"], ["created_at", "2015-08-16 15:55:27.258303"], ["updated_at", "2015-08-16 15:55:27.258303"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 661 728 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 662 729 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 663 | 
            -
              Parameters: {"filter"=>" | 
| 664 | 
            -
              [1m[35mPushType::Asset Load (0.2ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET  | 
| 665 | 
            -
              [1m[36m (0.2ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
         | 
| 666 | 
            -
            Completed 200 OK in  | 
| 730 | 
            +
              Parameters: {"filter"=>"file", "page"=>2}
         | 
| 731 | 
            +
              [1m[35mPushType::Asset Load (0.2ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
         | 
| 732 | 
            +
              [1m[36m (0.2ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
         | 
| 733 | 
            +
            Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
         | 
| 667 734 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 668 735 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 669 736 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 670 | 
            -
             | 
| 671 | 
            -
            PushType::WysiwygMediaController::GET #index:: | 
| 672 | 
            -
             | 
| 737 | 
            +
            ----------------------------------------------------------------------------------
         | 
| 738 | 
            +
            PushType::WysiwygMediaController::GET #index::with pagination: test_0004_anonymous
         | 
| 739 | 
            +
            ----------------------------------------------------------------------------------
         | 
| 740 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 741 | 
            +
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 673 742 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 674 | 
            -
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 675 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 676 743 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 677 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 744 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "134"], ["created_at", "2015-08-16 15:55:27.265678"], ["updated_at", "2015-08-16 15:55:27.265678"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 678 745 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 679 746 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 680 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 747 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "135"], ["created_at", "2015-08-16 15:55:27.267784"], ["updated_at", "2015-08-16 15:55:27.267784"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 681 748 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 682 749 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 683 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 750 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "136"], ["created_at", "2015-08-16 15:55:27.270092"], ["updated_at", "2015-08-16 15:55:27.270092"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 684 751 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 685 752 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 686 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 753 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "137"], ["created_at", "2015-08-16 15:55:27.272336"], ["updated_at", "2015-08-16 15:55:27.272336"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 687 754 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 688 755 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 689 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 756 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "138"], ["created_at", "2015-08-16 15:55:27.274427"], ["updated_at", "2015-08-16 15:55:27.274427"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 690 757 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 691 758 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 692 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 759 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "139"], ["created_at", "2015-08-16 15:55:27.276564"], ["updated_at", "2015-08-16 15:55:27.276564"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 693 760 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 694 761 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 695 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 762 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "140"], ["created_at", "2015-08-16 15:55:27.278567"], ["updated_at", "2015-08-16 15:55:27.278567"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 696 763 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 697 764 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 698 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 765 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "141"], ["created_at", "2015-08-16 15:55:27.280661"], ["updated_at", "2015-08-16 15:55:27.280661"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 699 766 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 700 767 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 701 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 768 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "142"], ["created_at", "2015-08-16 15:55:27.282631"], ["updated_at", "2015-08-16 15:55:27.282631"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 702 769 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 703 770 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 704 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 771 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "143"], ["created_at", "2015-08-16 15:55:27.284581"], ["updated_at", "2015-08-16 15:55:27.284581"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 705 772 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 706 773 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 707 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 774 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "144"], ["created_at", "2015-08-16 15:55:27.286650"], ["updated_at", "2015-08-16 15:55:27.286650"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 708 775 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 709 776 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 710 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 777 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "145"], ["created_at", "2015-08-16 15:55:27.288887"], ["updated_at", "2015-08-16 15:55:27.288887"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 711 778 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 712 779 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 713 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 780 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "146"], ["created_at", "2015-08-16 15:55:27.291022"], ["updated_at", "2015-08-16 15:55:27.291022"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 714 781 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 715 782 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 716 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 783 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "147"], ["created_at", "2015-08-16 15:55:27.293060"], ["updated_at", "2015-08-16 15:55:27.293060"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 717 784 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 718 785 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 719 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 786 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "148"], ["created_at", "2015-08-16 15:55:27.295328"], ["updated_at", "2015-08-16 15:55:27.295328"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 720 787 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 721 788 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 722 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 789 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "149"], ["created_at", "2015-08-16 15:55:27.297624"], ["updated_at", "2015-08-16 15:55:27.297624"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 723 790 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 724 791 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 725 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 792 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "150"], ["created_at", "2015-08-16 15:55:27.299688"], ["updated_at", "2015-08-16 15:55:27.299688"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 726 793 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 727 794 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 728 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 795 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "151"], ["created_at", "2015-08-16 15:55:27.301680"], ["updated_at", "2015-08-16 15:55:27.301680"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 729 796 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 730 797 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 731 | 
            -
              Parameters: {"filter"=>" | 
| 732 | 
            -
              [1m[35mPushType::Asset Load (0.3ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET  | 
| 733 | 
            -
              [1m[36m (0.2ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
         | 
| 734 | 
            -
            Completed 200 OK in  | 
| 798 | 
            +
              Parameters: {"filter"=>"file", "page"=>2}
         | 
| 799 | 
            +
              [1m[35mPushType::Asset Load (0.3ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
         | 
| 800 | 
            +
              [1m[36m (0.2ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
         | 
| 801 | 
            +
            Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
         | 
| 735 802 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 736 803 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 737 804 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| @@ -739,624 +806,557 @@ Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.5ms) | |
| 739 806 | 
             
            PushType::WysiwygMediaController::GET #index::filtering for files: test_0004_anonymous
         | 
| 740 807 | 
             
            --------------------------------------------------------------------------------------
         | 
| 741 808 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 742 | 
            -
              [1m[35m (0. | 
| 809 | 
            +
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 743 810 | 
             
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 744 811 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 745 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 812 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "152"], ["created_at", "2015-08-16 15:55:27.310085"], ["updated_at", "2015-08-16 15:55:27.310085"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 746 813 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 747 814 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 748 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 815 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "153"], ["created_at", "2015-08-16 15:55:27.312252"], ["updated_at", "2015-08-16 15:55:27.312252"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 749 816 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 750 817 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 751 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 818 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "154"], ["created_at", "2015-08-16 15:55:27.314183"], ["updated_at", "2015-08-16 15:55:27.314183"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 752 819 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 753 820 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 754 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 821 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "155"], ["created_at", "2015-08-16 15:55:27.316092"], ["updated_at", "2015-08-16 15:55:27.316092"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 755 822 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 756 823 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 757 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 824 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "156"], ["created_at", "2015-08-16 15:55:27.318059"], ["updated_at", "2015-08-16 15:55:27.318059"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 758 825 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 759 826 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 760 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 827 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "157"], ["created_at", "2015-08-16 15:55:27.320301"], ["updated_at", "2015-08-16 15:55:27.320301"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 761 828 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 762 829 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 763 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 830 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "158"], ["created_at", "2015-08-16 15:55:27.322699"], ["updated_at", "2015-08-16 15:55:27.322699"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 764 831 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 765 832 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 766 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 833 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "159"], ["created_at", "2015-08-16 15:55:27.324726"], ["updated_at", "2015-08-16 15:55:27.324726"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 767 834 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 768 835 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 769 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 836 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "160"], ["created_at", "2015-08-16 15:55:27.326689"], ["updated_at", "2015-08-16 15:55:27.326689"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 770 837 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 771 838 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 772 | 
            -
              [1m[35mSQL (0. | 
| 839 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "161"], ["created_at", "2015-08-16 15:55:27.328720"], ["updated_at", "2015-08-16 15:55:27.328720"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 773 840 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 774 841 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 775 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 842 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "162"], ["created_at", "2015-08-16 15:55:27.330701"], ["updated_at", "2015-08-16 15:55:27.330701"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 776 843 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 777 844 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 778 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 845 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "163"], ["created_at", "2015-08-16 15:55:27.332817"], ["updated_at", "2015-08-16 15:55:27.332817"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 779 846 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 780 847 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 781 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 848 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "164"], ["created_at", "2015-08-16 15:55:27.334894"], ["updated_at", "2015-08-16 15:55:27.334894"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 782 849 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 783 850 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 784 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 851 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "165"], ["created_at", "2015-08-16 15:55:27.336984"], ["updated_at", "2015-08-16 15:55:27.336984"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 785 852 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 786 853 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 787 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 854 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "166"], ["created_at", "2015-08-16 15:55:27.339055"], ["updated_at", "2015-08-16 15:55:27.339055"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 788 855 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 789 856 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 790 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 857 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "167"], ["created_at", "2015-08-16 15:55:27.341117"], ["updated_at", "2015-08-16 15:55:27.341117"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 791 858 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 792 859 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 793 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 860 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "168"], ["created_at", "2015-08-16 15:55:27.343120"], ["updated_at", "2015-08-16 15:55:27.343120"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 794 861 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 795 862 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 796 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 863 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "169"], ["created_at", "2015-08-16 15:55:27.345187"], ["updated_at", "2015-08-16 15:55:27.345187"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 797 864 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 798 865 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 799 866 | 
             
              Parameters: {"filter"=>"file"}
         | 
| 800 867 | 
             
              [1m[35mPushType::Asset Load (0.3ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
         | 
| 801 868 | 
             
              [1m[36m (0.3ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
         | 
| 802 | 
            -
            Completed 200 OK in  | 
| 869 | 
            +
            Completed 200 OK in 25ms (Views: 0.9ms | ActiveRecord: 0.6ms)
         | 
| 803 870 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 804 871 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 805 872 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 806 873 | 
             
            --------------------------------------------------------------------------------------
         | 
| 807 874 | 
             
            PushType::WysiwygMediaController::GET #index::filtering for files: test_0002_anonymous
         | 
| 808 875 | 
             
            --------------------------------------------------------------------------------------
         | 
| 809 | 
            -
              [1m[36m (0. | 
| 876 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 810 877 | 
             
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 811 878 | 
             
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 812 879 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 813 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 880 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "170"], ["created_at", "2015-08-16 15:55:27.374960"], ["updated_at", "2015-08-16 15:55:27.374960"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 814 881 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 815 882 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 816 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 883 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "171"], ["created_at", "2015-08-16 15:55:27.377526"], ["updated_at", "2015-08-16 15:55:27.377526"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 817 884 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 818 885 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 819 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 886 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "172"], ["created_at", "2015-08-16 15:55:27.379829"], ["updated_at", "2015-08-16 15:55:27.379829"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 820 887 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 821 888 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 822 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 889 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "173"], ["created_at", "2015-08-16 15:55:27.382264"], ["updated_at", "2015-08-16 15:55:27.382264"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 823 890 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 824 891 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 825 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 892 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "174"], ["created_at", "2015-08-16 15:55:27.384903"], ["updated_at", "2015-08-16 15:55:27.384903"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 826 893 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 827 894 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 828 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 895 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "175"], ["created_at", "2015-08-16 15:55:27.387455"], ["updated_at", "2015-08-16 15:55:27.387455"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 829 896 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 830 897 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 831 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 898 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "176"], ["created_at", "2015-08-16 15:55:27.390025"], ["updated_at", "2015-08-16 15:55:27.390025"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 832 899 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 833 900 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 834 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 901 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "177"], ["created_at", "2015-08-16 15:55:27.392565"], ["updated_at", "2015-08-16 15:55:27.392565"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 835 902 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 836 903 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 837 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 904 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "178"], ["created_at", "2015-08-16 15:55:27.394723"], ["updated_at", "2015-08-16 15:55:27.394723"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 838 905 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 839 906 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 840 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 841 | 
            -
              [1m[36m (0. | 
| 907 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "179"], ["created_at", "2015-08-16 15:55:27.397376"], ["updated_at", "2015-08-16 15:55:27.397376"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 908 | 
            +
              [1m[36m (0.2ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 842 909 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 843 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 910 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "180"], ["created_at", "2015-08-16 15:55:27.399878"], ["updated_at", "2015-08-16 15:55:27.399878"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 844 911 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 845 912 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 846 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 913 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "181"], ["created_at", "2015-08-16 15:55:27.402238"], ["updated_at", "2015-08-16 15:55:27.402238"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 847 914 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 848 915 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 849 | 
            -
              [1m[36mSQL (0. | 
| 916 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "182"], ["created_at", "2015-08-16 15:55:27.404989"], ["updated_at", "2015-08-16 15:55:27.404989"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 850 917 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 851 918 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 852 | 
            -
              [1m[35mSQL (0. | 
| 919 | 
            +
              [1m[35mSQL (0.2ms)[0m  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", "183"], ["created_at", "2015-08-16 15:55:27.407821"], ["updated_at", "2015-08-16 15:55:27.407821"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 853 920 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 854 921 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 855 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 922 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "184"], ["created_at", "2015-08-16 15:55:27.410419"], ["updated_at", "2015-08-16 15:55:27.410419"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 856 923 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 857 924 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 858 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 925 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "185"], ["created_at", "2015-08-16 15:55:27.412782"], ["updated_at", "2015-08-16 15:55:27.412782"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 859 926 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 860 927 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 861 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 928 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "186"], ["created_at", "2015-08-16 15:55:27.415709"], ["updated_at", "2015-08-16 15:55:27.415709"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 862 929 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 863 930 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 864 | 
            -
              [1m[35mSQL (0. | 
| 931 | 
            +
              [1m[35mSQL (0.2ms)[0m  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", "187"], ["created_at", "2015-08-16 15:55:27.418106"], ["updated_at", "2015-08-16 15:55:27.418106"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 865 932 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 866 933 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 867 934 | 
             
              Parameters: {"filter"=>"file"}
         | 
| 868 935 | 
             
              [1m[35mPushType::Asset Load (0.3ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
         | 
| 869 936 | 
             
              [1m[36m (0.2ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
         | 
| 870 | 
            -
            Completed 200 OK in  | 
| 937 | 
            +
            Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 0.5ms)
         | 
| 871 938 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 872 939 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 873 940 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 874 941 | 
             
            --------------------------------------------------------------------------------------
         | 
| 875 | 
            -
            PushType::WysiwygMediaController::GET #index::filtering for files:  | 
| 942 | 
            +
            PushType::WysiwygMediaController::GET #index::filtering for files: test_0001_anonymous
         | 
| 876 943 | 
             
            --------------------------------------------------------------------------------------
         | 
| 877 944 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 878 945 | 
             
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 879 946 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 880 947 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 881 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 948 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "188"], ["created_at", "2015-08-16 15:55:27.435857"], ["updated_at", "2015-08-16 15:55:27.435857"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 882 949 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 883 950 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 884 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 951 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "189"], ["created_at", "2015-08-16 15:55:27.438126"], ["updated_at", "2015-08-16 15:55:27.438126"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 885 952 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 886 953 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 887 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 954 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "190"], ["created_at", "2015-08-16 15:55:27.440592"], ["updated_at", "2015-08-16 15:55:27.440592"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 888 955 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 889 956 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 890 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 957 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "191"], ["created_at", "2015-08-16 15:55:27.442816"], ["updated_at", "2015-08-16 15:55:27.442816"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 891 958 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 892 959 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 893 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 960 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "192"], ["created_at", "2015-08-16 15:55:27.445034"], ["updated_at", "2015-08-16 15:55:27.445034"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 894 961 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 895 962 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 896 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 963 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "193"], ["created_at", "2015-08-16 15:55:27.447204"], ["updated_at", "2015-08-16 15:55:27.447204"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 897 964 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 898 965 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 899 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 966 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "194"], ["created_at", "2015-08-16 15:55:27.449269"], ["updated_at", "2015-08-16 15:55:27.449269"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 900 967 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 901 968 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 902 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 969 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "195"], ["created_at", "2015-08-16 15:55:27.451413"], ["updated_at", "2015-08-16 15:55:27.451413"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 903 970 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 904 971 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 905 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 972 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "196"], ["created_at", "2015-08-16 15:55:27.453904"], ["updated_at", "2015-08-16 15:55:27.453904"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 906 973 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 907 974 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 908 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 975 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "197"], ["created_at", "2015-08-16 15:55:27.456451"], ["updated_at", "2015-08-16 15:55:27.456451"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 909 976 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 910 977 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 911 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 978 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "198"], ["created_at", "2015-08-16 15:55:27.458696"], ["updated_at", "2015-08-16 15:55:27.458696"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 912 979 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 913 980 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 914 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 981 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "199"], ["created_at", "2015-08-16 15:55:27.460833"], ["updated_at", "2015-08-16 15:55:27.460833"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 915 982 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 916 983 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 917 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 984 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "200"], ["created_at", "2015-08-16 15:55:27.462967"], ["updated_at", "2015-08-16 15:55:27.462967"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 918 985 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 919 986 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 920 | 
            -
              [1m[35mSQL (0. | 
| 987 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "201"], ["created_at", "2015-08-16 15:55:27.465178"], ["updated_at", "2015-08-16 15:55:27.465178"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 921 988 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 922 989 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 923 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 990 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "202"], ["created_at", "2015-08-16 15:55:27.467539"], ["updated_at", "2015-08-16 15:55:27.467539"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 924 991 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 925 992 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 926 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 993 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "203"], ["created_at", "2015-08-16 15:55:27.469872"], ["updated_at", "2015-08-16 15:55:27.469872"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 927 994 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 928 995 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 929 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 996 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "204"], ["created_at", "2015-08-16 15:55:27.472212"], ["updated_at", "2015-08-16 15:55:27.472212"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 930 997 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 931 998 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 932 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 999 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "205"], ["created_at", "2015-08-16 15:55:27.474532"], ["updated_at", "2015-08-16 15:55:27.474532"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 933 1000 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 934 1001 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 935 1002 | 
             
              Parameters: {"filter"=>"file"}
         | 
| 936 1003 | 
             
              [1m[35mPushType::Asset Load (0.3ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
         | 
| 937 1004 | 
             
              [1m[36m (0.3ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
         | 
| 938 | 
            -
            Completed 200 OK in 13ms (Views:  | 
| 1005 | 
            +
            Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 0.6ms)
         | 
| 939 1006 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 940 1007 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 941 1008 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 942 1009 | 
             
            --------------------------------------------------------------------------------------
         | 
| 943 | 
            -
            PushType::WysiwygMediaController::GET #index::filtering for files:  | 
| 1010 | 
            +
            PushType::WysiwygMediaController::GET #index::filtering for files: test_0003_anonymous
         | 
| 944 1011 | 
             
            --------------------------------------------------------------------------------------
         | 
| 945 1012 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 946 1013 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 947 1014 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 948 1015 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 949 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1016 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "206"], ["created_at", "2015-08-16 15:55:27.492275"], ["updated_at", "2015-08-16 15:55:27.492275"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 950 1017 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 951 1018 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 952 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1019 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "207"], ["created_at", "2015-08-16 15:55:27.494540"], ["updated_at", "2015-08-16 15:55:27.494540"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 953 1020 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 954 1021 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 955 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1022 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "208"], ["created_at", "2015-08-16 15:55:27.496773"], ["updated_at", "2015-08-16 15:55:27.496773"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 956 1023 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 957 1024 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 958 | 
            -
              [1m[35mSQL (0. | 
| 1025 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "209"], ["created_at", "2015-08-16 15:55:27.499189"], ["updated_at", "2015-08-16 15:55:27.499189"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 959 1026 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 960 1027 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 961 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1028 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "210"], ["created_at", "2015-08-16 15:55:27.501322"], ["updated_at", "2015-08-16 15:55:27.501322"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 962 1029 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 963 1030 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 964 | 
            -
              [1m[35mSQL (0. | 
| 1031 | 
            +
              [1m[35mSQL (0.2ms)[0m  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", "211"], ["created_at", "2015-08-16 15:55:27.503628"], ["updated_at", "2015-08-16 15:55:27.503628"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 965 1032 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 966 1033 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 967 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 1034 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "212"], ["created_at", "2015-08-16 15:55:27.505982"], ["updated_at", "2015-08-16 15:55:27.505982"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 968 1035 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 969 1036 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 970 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1037 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "213"], ["created_at", "2015-08-16 15:55:27.508287"], ["updated_at", "2015-08-16 15:55:27.508287"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 971 1038 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 972 1039 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 973 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 1040 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "214"], ["created_at", "2015-08-16 15:55:27.510576"], ["updated_at", "2015-08-16 15:55:27.510576"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 974 1041 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 975 1042 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 976 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1043 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "215"], ["created_at", "2015-08-16 15:55:27.512740"], ["updated_at", "2015-08-16 15:55:27.512740"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 977 1044 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 978 1045 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 979 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 1046 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "216"], ["created_at", "2015-08-16 15:55:27.514997"], ["updated_at", "2015-08-16 15:55:27.514997"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 980 1047 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 981 1048 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 982 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1049 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "217"], ["created_at", "2015-08-16 15:55:27.517191"], ["updated_at", "2015-08-16 15:55:27.517191"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 983 1050 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 984 1051 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 985 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 1052 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "218"], ["created_at", "2015-08-16 15:55:27.519463"], ["updated_at", "2015-08-16 15:55:27.519463"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 986 1053 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 987 1054 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 988 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1055 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "219"], ["created_at", "2015-08-16 15:55:27.522039"], ["updated_at", "2015-08-16 15:55:27.522039"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 989 1056 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 990 1057 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 991 | 
            -
              [1m[36mSQL (0. | 
| 1058 | 
            +
              [1m[36mSQL (0.2ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "220"], ["created_at", "2015-08-16 15:55:27.524407"], ["updated_at", "2015-08-16 15:55:27.524407"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 992 1059 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 993 1060 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 994 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1061 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "221"], ["created_at", "2015-08-16 15:55:27.526908"], ["updated_at", "2015-08-16 15:55:27.526908"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 995 1062 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 996 1063 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 997 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", " | 
| 1064 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "222"], ["created_at", "2015-08-16 15:55:27.529124"], ["updated_at", "2015-08-16 15:55:27.529124"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 998 1065 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 999 1066 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1000 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1067 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "223"], ["created_at", "2015-08-16 15:55:27.531347"], ["updated_at", "2015-08-16 15:55:27.531347"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
         | 
| 1001 1068 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1002 1069 | 
             
            Processing by PushType::WysiwygMediaController#index as JSON
         | 
| 1003 1070 | 
             
              Parameters: {"filter"=>"file"}
         | 
| 1004 1071 | 
             
              [1m[35mPushType::Asset Load (0.3ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')  ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
         | 
| 1005 | 
            -
              [1m[36m (0. | 
| 1006 | 
            -
            Completed 200 OK in  | 
| 1072 | 
            +
              [1m[36m (0.3ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
         | 
| 1073 | 
            +
            Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 0.5ms)
         | 
| 1007 1074 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1008 1075 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1009 1076 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1010 | 
            -
             | 
| 1011 | 
            -
            PushType:: | 
| 1012 | 
            -
             | 
| 1013 | 
            -
              [1m[36m (0. | 
| 1014 | 
            -
              [1m[35m (0. | 
| 1015 | 
            -
              [1m[36m (0. | 
| 1077 | 
            +
            -------------------------------------------------------------------------------------
         | 
| 1078 | 
            +
            PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
         | 
| 1079 | 
            +
            -------------------------------------------------------------------------------------
         | 
| 1080 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1081 | 
            +
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1082 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1083 | 
            +
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 1084 | 
            +
              Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe3335f1f40 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150816-9169-1cxk1o>>}}
         | 
| 1016 1085 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1017 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1086 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "224"], ["created_at", "2015-08-16 15:55:27.551328"], ["updated_at", "2015-08-16 15:55:27.551328"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1018 1087 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1088 | 
            +
            Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
         | 
| 1089 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1090 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1091 | 
            +
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 1092 | 
            +
            -------------------------------------------------------------------------------------
         | 
| 1093 | 
            +
            PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
         | 
| 1094 | 
            +
            -------------------------------------------------------------------------------------
         | 
| 1095 | 
            +
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1096 | 
            +
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1097 | 
            +
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1098 | 
            +
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 1099 | 
            +
              Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe337878058 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150816-9169-1sllxlq>>}}
         | 
| 1019 1100 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1020 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1101 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "225"], ["created_at", "2015-08-16 15:55:27.557320"], ["updated_at", "2015-08-16 15:55:27.557320"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1021 1102 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1103 | 
            +
            Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
         | 
| 1104 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1105 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1106 | 
            +
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1107 | 
            +
            -------------------------------------------------------------------------------------
         | 
| 1108 | 
            +
            PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
         | 
| 1109 | 
            +
            -------------------------------------------------------------------------------------
         | 
| 1110 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1111 | 
            +
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1112 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1113 | 
            +
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 1114 | 
            +
              Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe3317822f8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150816-9169-hkg9ez>>}}
         | 
| 1022 1115 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1023 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1116 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "226"], ["created_at", "2015-08-16 15:55:27.563182"], ["updated_at", "2015-08-16 15:55:27.563182"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1024 1117 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1025 | 
            -
             | 
| 1026 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "221"], ["created_at", "2015-07-16 15:51:02.000748"], ["updated_at", "2015-07-16 15:51:02.000748"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1027 | 
            -
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1028 | 
            -
              [1m[35m (0.2ms)[0m  SELECT COUNT(*) FROM "push_type_assets"
         | 
| 1118 | 
            +
            Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
         | 
| 1029 1119 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1030 1120 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1031 | 
            -
              [1m[36m (0. | 
| 1121 | 
            +
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 1032 1122 | 
             
            -----------------------------------------------------------------------
         | 
| 1033 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_assets_meta:  | 
| 1123 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
         | 
| 1034 1124 | 
             
            -----------------------------------------------------------------------
         | 
| 1035 | 
            -
              [1m[35m (0. | 
| 1036 | 
            -
              [1m[36m (0. | 
| 1037 | 
            -
              [1m[35m (0. | 
| 1125 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 1126 | 
            +
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1127 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 1038 1128 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1039 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1129 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "227"], ["created_at", "2015-08-16 15:55:27.569187"], ["updated_at", "2015-08-16 15:55:27.569187"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1040 1130 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1041 1131 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1042 | 
            -
              [1m[36mSQL (0. | 
| 1132 | 
            +
              [1m[36mSQL (0.2ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "228"], ["created_at", "2015-08-16 15:55:27.571586"], ["updated_at", "2015-08-16 15:55:27.571586"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1043 1133 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1044 1134 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1045 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1135 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "229"], ["created_at", "2015-08-16 15:55:27.574357"], ["updated_at", "2015-08-16 15:55:27.574357"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1046 1136 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1047 1137 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1048 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1138 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "230"], ["created_at", "2015-08-16 15:55:27.576596"], ["updated_at", "2015-08-16 15:55:27.576596"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1049 1139 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1050 1140 | 
             
              [1m[36m (0.2ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets"[0m
         | 
| 1051 1141 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1052 1142 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1053 1143 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1054 1144 | 
             
            -----------------------------------------------------------------------
         | 
| 1055 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_assets_meta:  | 
| 1145 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0002_anonymous
         | 
| 1056 1146 | 
             
            -----------------------------------------------------------------------
         | 
| 1057 1147 | 
             
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1058 | 
            -
              [1m[35m (0. | 
| 1059 | 
            -
              [1m[36m (0. | 
| 1148 | 
            +
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1149 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1060 1150 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1061 | 
            -
              [1m[36mSQL (0. | 
| 1151 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "231"], ["created_at", "2015-08-16 15:55:27.581009"], ["updated_at", "2015-08-16 15:55:27.581009"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1062 1152 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1063 1153 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1064 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1154 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "232"], ["created_at", "2015-08-16 15:55:27.583254"], ["updated_at", "2015-08-16 15:55:27.583254"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1065 1155 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1066 1156 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1067 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1157 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "233"], ["created_at", "2015-08-16 15:55:27.585547"], ["updated_at", "2015-08-16 15:55:27.585547"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1068 1158 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1069 1159 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1070 | 
            -
              [1m[35mSQL (0. | 
| 1160 | 
            +
              [1m[35mSQL (0.2ms)[0m  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", "234"], ["created_at", "2015-08-16 15:55:27.587860"], ["updated_at", "2015-08-16 15:55:27.587860"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1071 1161 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1072 | 
            -
              [1m[35m (0. | 
| 1162 | 
            +
              [1m[35m (0.3ms)[0m  SELECT COUNT(*) FROM "push_type_assets"
         | 
| 1073 1163 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1074 1164 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1075 1165 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 1076 1166 | 
             
            -----------------------------------------------------------------------
         | 
| 1077 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_assets_meta:  | 
| 1167 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
         | 
| 1078 1168 | 
             
            -----------------------------------------------------------------------
         | 
| 1079 1169 | 
             
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1080 1170 | 
             
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1081 1171 | 
             
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1082 1172 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1083 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1173 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "235"], ["created_at", "2015-08-16 15:55:27.592614"], ["updated_at", "2015-08-16 15:55:27.592614"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1084 1174 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1085 1175 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1086 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1176 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "236"], ["created_at", "2015-08-16 15:55:27.594790"], ["updated_at", "2015-08-16 15:55:27.594790"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1087 1177 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1088 1178 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1089 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1179 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "237"], ["created_at", "2015-08-16 15:55:27.597598"], ["updated_at", "2015-08-16 15:55:27.597598"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1090 1180 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1091 1181 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1092 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1182 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "238"], ["created_at", "2015-08-16 15:55:27.600088"], ["updated_at", "2015-08-16 15:55:27.600088"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1093 1183 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1094 1184 | 
             
              [1m[36m (0.2ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets"[0m
         | 
| 1095 1185 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1096 1186 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1097 | 
            -
              [1m[35m (0. | 
| 1187 | 
            +
              [1m[35m (0.0ms)[0m  BEGIN
         | 
| 1098 1188 | 
             
            -----------------------------------------------------------------------
         | 
| 1099 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_assets_meta:  | 
| 1189 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0005_anonymous
         | 
| 1100 1190 | 
             
            -----------------------------------------------------------------------
         | 
| 1101 1191 | 
             
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1102 | 
            -
              [1m[35m (0. | 
| 1192 | 
            +
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1103 1193 | 
             
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1104 1194 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1105 | 
            -
              [1m[36mSQL (0. | 
| 1195 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "239"], ["created_at", "2015-08-16 15:55:27.604482"], ["updated_at", "2015-08-16 15:55:27.604482"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1106 1196 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1107 1197 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1108 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1198 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "240"], ["created_at", "2015-08-16 15:55:27.606660"], ["updated_at", "2015-08-16 15:55:27.606660"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1109 1199 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1110 1200 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1111 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1201 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "241"], ["created_at", "2015-08-16 15:55:27.608776"], ["updated_at", "2015-08-16 15:55:27.608776"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1112 1202 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1113 1203 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1114 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1204 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "242"], ["created_at", "2015-08-16 15:55:27.610724"], ["updated_at", "2015-08-16 15:55:27.610724"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1115 1205 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1116 1206 | 
             
              [1m[35m (0.2ms)[0m  SELECT COUNT(*) FROM "push_type_assets"
         | 
| 1117 1207 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1118 1208 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1119 1209 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 1120 | 
            -
             | 
| 1121 | 
            -
            PushType:: | 
| 1122 | 
            -
             | 
| 1210 | 
            +
            -----------------------------------------------------------------------
         | 
| 1211 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
         | 
| 1212 | 
            +
            -----------------------------------------------------------------------
         | 
| 1213 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 1214 | 
            +
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1123 1215 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 1124 | 
            -
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1125 | 
            -
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1126 | 
            -
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 1127 | 
            -
              Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fdc1ac9fbc8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150716-3901-1r1s8sh>>}}
         | 
| 1128 1216 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1129 | 
            -
              [1m[35mSQL (0. | 
| 1217 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "243"], ["created_at", "2015-08-16 15:55:27.614889"], ["updated_at", "2015-08-16 15:55:27.614889"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1130 1218 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1131 | 
            -
            Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
         | 
| 1132 | 
            -
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1133 | 
            -
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1134 | 
            -
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1135 | 
            -
            -------------------------------------------------------------------------------------
         | 
| 1136 | 
            -
            PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
         | 
| 1137 | 
            -
            -------------------------------------------------------------------------------------
         | 
| 1138 | 
            -
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1139 | 
            -
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1140 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1141 | 
            -
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 1142 | 
            -
              Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fdc24032278 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150716-3901-vc113j>>}}
         | 
| 1143 1219 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1144 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1220 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "244"], ["created_at", "2015-08-16 15:55:27.616912"], ["updated_at", "2015-08-16 15:55:27.616912"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1145 1221 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1146 | 
            -
            Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
         | 
| 1147 | 
            -
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1148 | 
            -
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1149 | 
            -
              [1m[36m (0.0ms)[0m  [1mBEGIN[0m
         | 
| 1150 | 
            -
            -------------------------------------------------------------------------------------
         | 
| 1151 | 
            -
            PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
         | 
| 1152 | 
            -
            -------------------------------------------------------------------------------------
         | 
| 1153 | 
            -
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1154 | 
            -
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1155 | 
            -
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1156 | 
            -
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 1157 | 
            -
              Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fdc25860188 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150716-3901-1jw0s10>>}}
         | 
| 1158 1222 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1159 | 
            -
              [1m[35mSQL (0. | 
| 1223 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "245"], ["created_at", "2015-08-16 15:55:27.619065"], ["updated_at", "2015-08-16 15:55:27.619065"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1160 1224 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1161 | 
            -
             | 
| 1225 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1226 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "246"], ["created_at", "2015-08-16 15:55:27.621052"], ["updated_at", "2015-08-16 15:55:27.621052"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1227 | 
            +
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1228 | 
            +
              [1m[36m (0.2ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets"[0m
         | 
| 1162 1229 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1163 1230 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1164 1231 | 
             
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1165 | 
            -
             | 
| 1166 | 
            -
            PushType:: | 
| 1167 | 
            -
             | 
| 1232 | 
            +
            --------------------------------------------------------------------------------
         | 
| 1233 | 
            +
            PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
         | 
| 1234 | 
            +
            --------------------------------------------------------------------------------
         | 
| 1168 1235 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1169 1236 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1170 | 
            -
              [1m[36m (0. | 
| 1171 | 
            -
              [1m[35m (0.1ms)[0m   | 
| 1172 | 
            -
             | 
| 1173 | 
            -
               | 
| 1174 | 
            -
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1175 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "242"], ["created_at", "2015-07-16 15:51:02.084376"], ["updated_at", "2015-07-16 15:51:02.084376"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1176 | 
            -
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1177 | 
            -
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1178 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "243"], ["created_at", "2015-07-16 15:51:02.086612"], ["updated_at", "2015-07-16 15:51:02.086612"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1179 | 
            -
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1237 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1238 | 
            +
              [1m[35m (0.1ms)[0m  SELECT COUNT(*) FROM "push_type_assets"
         | 
| 1239 | 
            +
            Processing by PushType::WysiwygMediaController#create as JSON
         | 
| 1240 | 
            +
              Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe33a901c60 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150816-9169-sttfr3>>}}
         | 
| 1180 1241 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1181 | 
            -
              [1m[35mSQL (0.2ms)[0m  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", " | 
| 1242 | 
            +
              [1m[35mSQL (0.2ms)[0m  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", "247"], ["created_at", "2015-08-16 15:55:27.629853"], ["updated_at", "2015-08-16 15:55:27.629853"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1182 1243 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1183 | 
            -
             | 
| 1184 | 
            -
              [1m[ | 
| 1185 | 
            -
              [1m[ | 
| 1186 | 
            -
              [1m[ | 
| 1187 | 
            -
              [1m[ | 
| 1244 | 
            +
            Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
         | 
| 1245 | 
            +
              [1m[35m (0.1ms)[0m  SELECT COUNT(*) FROM "push_type_assets"
         | 
| 1246 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1247 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1248 | 
            +
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 1188 1249 | 
             
            -----------------------------------------------------------------------
         | 
| 1189 1250 | 
             
            PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
         | 
| 1190 1251 | 
             
            -----------------------------------------------------------------------
         | 
| 1191 | 
            -
              [1m[ | 
| 1192 | 
            -
              [1m[ | 
| 1193 | 
            -
              [1m[ | 
| 1194 | 
            -
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1195 | 
            -
              [1m[36mSQL (0.2ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "245"], ["created_at", "2015-07-16 15:51:02.095585"], ["updated_at", "2015-07-16 15:51:02.095585"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1196 | 
            -
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1197 | 
            -
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1198 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "246"], ["created_at", "2015-07-16 15:51:02.098177"], ["updated_at", "2015-07-16 15:51:02.098177"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1199 | 
            -
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1200 | 
            -
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1201 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "247"], ["created_at", "2015-07-16 15:51:02.100398"], ["updated_at", "2015-07-16 15:51:02.100398"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1202 | 
            -
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1252 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 1253 | 
            +
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1254 | 
            +
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1203 1255 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1204 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "248"], ["created_at", "2015- | 
| 1256 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "248"], ["created_at", "2015-08-16 15:55:27.635219"], ["updated_at", "2015-08-16 15:55:27.635219"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1205 1257 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1206 | 
            -
              [1m[35mPushType::Asset Load (0.2ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets"  ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
         | 
| 1207 | 
            -
              [1m[36m (0.1ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets"[0m
         | 
| 1208 | 
            -
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1209 | 
            -
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1210 | 
            -
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1211 | 
            -
            -----------------------------------------------------------------------
         | 
| 1212 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
         | 
| 1213 | 
            -
            -----------------------------------------------------------------------
         | 
| 1214 | 
            -
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1215 | 
            -
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1216 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1217 1258 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1218 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "249"], ["created_at", "2015- | 
| 1259 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "249"], ["created_at", "2015-08-16 15:55:27.637400"], ["updated_at", "2015-08-16 15:55:27.637400"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1219 1260 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1220 1261 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1221 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", "250"], ["created_at", "2015- | 
| 1262 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "250"], ["created_at", "2015-08-16 15:55:27.639621"], ["updated_at", "2015-08-16 15:55:27.639621"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1222 1263 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1223 1264 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1224 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015- | 
| 1265 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-08-16 15:55:27.641728"], ["updated_at", "2015-08-16 15:55:27.641728"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1225 1266 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1226 | 
            -
              [1m[ | 
| 1227 | 
            -
              [1m[ | 
| 1228 | 
            -
              [1m[36m (0.1ms)[0m  [ | 
| 1229 | 
            -
              [1m[ | 
| 1230 | 
            -
              [1m[36m (0.1ms)[0m  [ | 
| 1231 | 
            -
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1232 | 
            -
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1233 | 
            -
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1267 | 
            +
              [1m[36mPushType::Asset Load (0.2ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets"  ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
         | 
| 1268 | 
            +
              [1m[35m (0.1ms)[0m  SELECT COUNT(*) FROM "push_type_assets"
         | 
| 1269 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1270 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1271 | 
            +
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 1234 1272 | 
             
            -----------------------------------------------------------------------
         | 
| 1235 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_assets_hash:  | 
| 1273 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
         | 
| 1236 1274 | 
             
            -----------------------------------------------------------------------
         | 
| 1237 | 
            -
              [1m[ | 
| 1238 | 
            -
              [1m[ | 
| 1239 | 
            -
              [1m[ | 
| 1240 | 
            -
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1241 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "253"], ["created_at", "2015-07-16 15:51:02.121584"], ["updated_at", "2015-07-16 15:51:02.121584"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1242 | 
            -
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1275 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 1276 | 
            +
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1277 | 
            +
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1243 1278 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1244 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1279 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "252"], ["created_at", "2015-08-16 15:55:27.646913"], ["updated_at", "2015-08-16 15:55:27.646913"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1245 1280 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1246 1281 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1247 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1282 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "253"], ["created_at", "2015-08-16 15:55:27.649025"], ["updated_at", "2015-08-16 15:55:27.649025"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1248 1283 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1249 1284 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1250 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1285 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "254"], ["created_at", "2015-08-16 15:55:27.650950"], ["updated_at", "2015-08-16 15:55:27.650950"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1251 1286 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1252 | 
            -
              [1m[35mPushType::Asset Load (0.2ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets"  ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
         | 
| 1253 | 
            -
              [1m[36m (0.1ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets"[0m
         | 
| 1254 | 
            -
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1255 | 
            -
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1256 | 
            -
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1257 | 
            -
            -----------------------------------------------------------------------
         | 
| 1258 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
         | 
| 1259 | 
            -
            -----------------------------------------------------------------------
         | 
| 1260 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1261 | 
            -
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1262 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1263 1287 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1264 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1288 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "255"], ["created_at", "2015-08-16 15:55:27.652897"], ["updated_at", "2015-08-16 15:55:27.652897"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1265 1289 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1290 | 
            +
              [1m[36mPushType::Asset Load (0.2ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets"  ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
         | 
| 1291 | 
            +
              [1m[35m (0.1ms)[0m  SELECT COUNT(*) FROM "push_type_assets"
         | 
| 1292 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1293 | 
            +
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1294 | 
            +
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 1295 | 
            +
            -----------------------------------------------------------------------
         | 
| 1296 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
         | 
| 1297 | 
            +
            -----------------------------------------------------------------------
         | 
| 1298 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 1299 | 
            +
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1300 | 
            +
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1266 1301 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1267 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1302 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "256"], ["created_at", "2015-08-16 15:55:27.658445"], ["updated_at", "2015-08-16 15:55:27.658445"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1268 1303 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1269 1304 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1270 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1305 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "257"], ["created_at", "2015-08-16 15:55:27.660577"], ["updated_at", "2015-08-16 15:55:27.660577"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1271 1306 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1272 1307 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1273 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1308 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "258"], ["created_at", "2015-08-16 15:55:27.662464"], ["updated_at", "2015-08-16 15:55:27.662464"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1274 1309 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1275 | 
            -
              [1m[35mPushType::Asset Load (0.3ms)[0m  SELECT  "push_type_assets".* FROM "push_type_assets"  ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
         | 
| 1276 | 
            -
              [1m[36m (0.1ms)[0m  [1mSELECT COUNT(*) FROM "push_type_assets"[0m
         | 
| 1277 | 
            -
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1278 | 
            -
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1279 | 
            -
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1280 | 
            -
            ----------------------------------------------------------------------
         | 
| 1281 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
         | 
| 1282 | 
            -
            ----------------------------------------------------------------------
         | 
| 1283 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1284 | 
            -
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1285 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1286 1310 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1287 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1311 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "259"], ["created_at", "2015-08-16 15:55:27.664318"], ["updated_at", "2015-08-16 15:55:27.664318"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1288 1312 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1313 | 
            +
              [1m[36mPushType::Asset Load (0.2ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets"  ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
         | 
| 1314 | 
            +
              [1m[35m (0.1ms)[0m  SELECT COUNT(*) FROM "push_type_assets"
         | 
| 1289 1315 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1290 1316 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1291 1317 | 
             
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 1292 | 
            -
             | 
| 1293 | 
            -
            PushType::WysiwygMediaHelper::# | 
| 1294 | 
            -
             | 
| 1318 | 
            +
            -----------------------------------------------------------------------
         | 
| 1319 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
         | 
| 1320 | 
            +
            -----------------------------------------------------------------------
         | 
| 1295 1321 | 
             
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1296 1322 | 
             
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1297 | 
            -
              [1m[35m (0. | 
| 1323 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 1298 1324 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1299 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1325 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "260"], ["created_at", "2015-08-16 15:55:27.669556"], ["updated_at", "2015-08-16 15:55:27.669556"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1300 1326 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1301 | 
            -
              [1m[35m (0.1ms)[0m   | 
| 1302 | 
            -
              [1m[ | 
| 1303 | 
            -
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1304 | 
            -
            ----------------------------------------------------------------------
         | 
| 1305 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
         | 
| 1306 | 
            -
            ----------------------------------------------------------------------
         | 
| 1307 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1308 | 
            -
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1309 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1310 | 
            -
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_2
         | 
| 1311 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "263"], ["created_at", "2015-07-16 15:51:02.156419"], ["updated_at", "2015-07-16 15:51:02.156419"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1327 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1328 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "261"], ["created_at", "2015-08-16 15:55:27.671841"], ["updated_at", "2015-08-16 15:55:27.671841"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1312 1329 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1313 | 
            -
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1314 | 
            -
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1315 | 
            -
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 1316 | 
            -
            ----------------------------------------------------------------------
         | 
| 1317 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
         | 
| 1318 | 
            -
            ----------------------------------------------------------------------
         | 
| 1319 | 
            -
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1320 | 
            -
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1321 | 
            -
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_1
         | 
| 1322 1330 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1323 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1331 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "262"], ["created_at", "2015-08-16 15:55:27.674027"], ["updated_at", "2015-08-16 15:55:27.674027"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1324 1332 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1325 | 
            -
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1326 | 
            -
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1327 | 
            -
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1328 | 
            -
            ----------------------------------------------------------------------
         | 
| 1329 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
         | 
| 1330 | 
            -
            ----------------------------------------------------------------------
         | 
| 1331 | 
            -
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1332 | 
            -
              [1m[35m (0.0ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1333 | 
            -
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1334 1333 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1335 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", " | 
| 1334 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "263"], ["created_at", "2015-08-16 15:55:27.676009"], ["updated_at", "2015-08-16 15:55:27.676009"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1336 1335 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1336 | 
            +
              [1m[36mPushType::Asset Load (0.3ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets"  ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
         | 
| 1337 | 
            +
              [1m[35m (0.2ms)[0m  SELECT COUNT(*) FROM "push_type_assets"
         | 
| 1337 1338 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1338 1339 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         | 
| 1339 | 
            -
              [1m[36m (0. | 
| 1340 | 
            -
             | 
| 1341 | 
            -
            PushType::WysiwygMediaHelper::# | 
| 1342 | 
            -
             | 
| 1340 | 
            +
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 1341 | 
            +
            -----------------------------------------------------------------------
         | 
| 1342 | 
            +
            PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
         | 
| 1343 | 
            +
            -----------------------------------------------------------------------
         | 
| 1343 1344 | 
             
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1344 1345 | 
             
              [1m[36m (0.0ms)[0m  [1mRELEASE SAVEPOINT active_record_1[0m
         | 
| 1345 1346 | 
             
              [1m[35m (0.0ms)[0m  SAVEPOINT active_record_1
         | 
| 1346 1347 | 
             
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1347 | 
            -
              [1m[35mSQL (0.1ms)[0m  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", " | 
| 1348 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "264"], ["created_at", "2015-08-16 15:55:27.719114"], ["updated_at", "2015-08-16 15:55:27.719114"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1349 | 
            +
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1350 | 
            +
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1351 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "265"], ["created_at", "2015-08-16 15:55:27.721529"], ["updated_at", "2015-08-16 15:55:27.721529"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1352 | 
            +
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1353 | 
            +
              [1m[36m (0.1ms)[0m  [1mSAVEPOINT active_record_2[0m
         | 
| 1354 | 
            +
              [1m[35mSQL (0.1ms)[0m  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", "266"], ["created_at", "2015-08-16 15:55:27.723992"], ["updated_at", "2015-08-16 15:55:27.723992"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1348 1355 | 
             
              [1m[36m (0.1ms)[0m  [1mRELEASE SAVEPOINT active_record_2[0m
         | 
| 1349 | 
            -
              [1m[35m (0.1ms)[0m  ROLLBACK TO SAVEPOINT active_record_1
         | 
| 1350 | 
            -
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 1351 | 
            -
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 1352 | 
            -
            ----------------------------------------------------------------------
         | 
| 1353 | 
            -
            PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
         | 
| 1354 | 
            -
            ----------------------------------------------------------------------
         | 
| 1355 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1356 | 
            -
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_1
         | 
| 1357 | 
            -
              [1m[36m (0.0ms)[0m  [1mSAVEPOINT active_record_1[0m
         | 
| 1358 1356 | 
             
              [1m[35m (0.1ms)[0m  SAVEPOINT active_record_2
         | 
| 1359 | 
            -
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "267"], ["created_at", "2015- | 
| 1357 | 
            +
              [1m[36mSQL (0.1ms)[0m  [1mINSERT 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"[0m  [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "267"], ["created_at", "2015-08-16 15:55:27.726554"], ["updated_at", "2015-08-16 15:55:27.726554"], ["file_ext", "png"], ["mime_type", "image/png"]]
         | 
| 1360 1358 | 
             
              [1m[35m (0.1ms)[0m  RELEASE SAVEPOINT active_record_2
         | 
| 1359 | 
            +
              [1m[36mPushType::Asset Load (0.2ms)[0m  [1mSELECT  "push_type_assets".* FROM "push_type_assets"  ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
         | 
| 1360 | 
            +
              [1m[35m (0.1ms)[0m  SELECT COUNT(*) FROM "push_type_assets"
         | 
| 1361 1361 | 
             
              [1m[36m (0.1ms)[0m  [1mROLLBACK TO SAVEPOINT active_record_1[0m
         | 
| 1362 1362 | 
             
              [1m[35m (0.1ms)[0m  ROLLBACK
         |