push_type_wysiwyg 0.6.0.beta.3 → 0.6.0.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- 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/{20151102202759_create_push_type_users.push_type.rb → 20151108150838_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102202760_create_push_type_nodes.push_type.rb → 20151108150839_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102202761_create_push_type_node_hierarchies.push_type.rb → 20151108150840_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102202762_create_push_type_assets.push_type.rb → 20151108150841_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102202763_create_push_type_taxonomies.push_type.rb → 20151108150842_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102202764_create_push_type_taxonomy_hierarchies.push_type.rb → 20151108150843_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102202765_add_field_store_default_values.push_type.rb → 20151108150844_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +662 -662
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fd38360d4302fec33fa87ad45dde8ddbbce8e30
|
4
|
+
data.tar.gz: 0d8ae59bf9fccbaf8bb76f667bdbe80726182bd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d1bc5c0d2a34ff7430ac60222974afcb27e01631f0bc29b7345c77ba21b9e4d7cb8bfb3af87490901903b94d926b6afe85a571324a2390084fd7fcee904c102
|
7
|
+
data.tar.gz: 778e36f4bd6be1d3596e5d9dbc088e9b5ce44b6222df94c630d567d9a79d3f6976bfe146d46fd34c94b6e4209d49db2a549271f2183ae878afa6c5df1244e24c
|
@@ -50,6 +50,6 @@ PushType.setup do |config|
|
|
50
50
|
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
51
51
|
# }
|
52
52
|
|
53
|
-
# config.dragonfly_secret = '
|
53
|
+
# config.dragonfly_secret = '486f3e8533a04d2125fe493c7445efa55779f8b8022dbde8c982c7a4e436ee8b'
|
54
54
|
|
55
55
|
end
|
@@ -11,10 +11,10 @@
|
|
11
11
|
# if you're sharing your code publicly.
|
12
12
|
|
13
13
|
development:
|
14
|
-
secret_key_base:
|
14
|
+
secret_key_base: 6c746b3a9af4e6a8d174f8f0e740bce8c64ab37472ed63eaeba4cc35849d40cdaa1e0800a1993e9fdbcdfff0c0f4cb0c41a348e54c19407643d01f0a5a6f7ae5
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
17
|
+
secret_key_base: f7c3a5ae36d2378e7e5fcf0e0fdea0516854eec9cd6509dbea565baa6b33d5adc2132c182bfce3fe6d2e777f009573911e8c5bfe41bcf666dc3eaca09bdb3322
|
18
18
|
|
19
19
|
# Do not keep production secrets in the repository,
|
20
20
|
# instead read values from the environment.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20151108150844) do
|
15
15
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
17
17
|
enable_extension "plpgsql"
|
data/test/dummy/log/test.log
CHANGED
@@ -1,56 +1,56 @@
|
|
1
|
-
[1m[36m (
|
1
|
+
[1m[36m (13.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
2
|
[1m[35m (1.1ms)[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 (20151108150838)
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
6
|
-
[1m[36mSQL (1.
|
7
|
-
[1m[35m (2.
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
9
|
-
[1m[35m (0.
|
10
|
-
Migrating to CreatePushTypeNodes (
|
6
|
+
[1m[36mSQL (1.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
+
[1m[35m (2.3ms)[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", "20151108150838"]]
|
9
|
+
[1m[35m (0.7ms)[0m COMMIT
|
10
|
+
Migrating to CreatePushTypeNodes (20151108150839)
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12
|
-
[1m[35m (2.
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
14
|
-
[1m[35m (0.
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
12
|
+
[1m[35m (2.0ms)[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", "20151108150839"]]
|
14
|
+
[1m[35m (0.5ms)[0m COMMIT
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20151108150840)
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17
|
-
[1m[35m (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
18
|
[1m[36m (0.8ms)[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", "
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20151108150840"]]
|
21
21
|
[1m[35m (0.4ms)[0m COMMIT
|
22
|
-
Migrating to CreatePushTypeAssets (
|
22
|
+
Migrating to CreatePushTypeAssets (20151108150841)
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
24
|
-
[1m[35m (2.
|
25
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
26
|
-
[1m[35m (0.
|
27
|
-
Migrating to CreatePushTypeTaxonomies (
|
24
|
+
[1m[35m (2.0ms)[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", "20151108150841"]]
|
26
|
+
[1m[35m (0.4ms)[0m COMMIT
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20151108150842)
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29
|
-
[1m[35m (2.
|
29
|
+
[1m[35m (2.2ms)[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.5ms)[0m [1mCOMMIT[0m
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (20151102202764)
|
34
|
-
[1m[35m (0.1ms)[0m BEGIN
|
35
|
-
[1m[36m (0.7ms)[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.7ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
37
|
-
[1m[36m (0.5ms)[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", "20151102202764"]]
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150842"]]
|
39
32
|
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
40
|
-
Migrating to
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20151108150843)
|
34
|
+
[1m[35m (0.1ms)[0m BEGIN
|
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.6ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
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", "20151108150843"]]
|
39
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20151108150844)
|
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
43
|
[1m[35m (0.2ms)[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
46
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
47
|
-
[1m[35m (0.
|
47
|
+
[1m[35m (0.2ms)[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
|
-
[1m[35m (0.
|
50
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
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", "20151108150844"]]
|
51
51
|
[1m[35m (0.4ms)[0m COMMIT
|
52
52
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53
|
-
[1m[35m (
|
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
|
@@ -62,7 +62,7 @@ WHERE c.contype = 'f'
|
|
62
62
|
AND t3.nspname = ANY (current_schemas(false))
|
63
63
|
ORDER BY c.conname
|
64
64
|
|
65
|
-
[1m[36m (1.
|
65
|
+
[1m[36m (1.2ms)[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
|
66
66
|
FROM pg_constraint c
|
67
67
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
68
68
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -86,7 +86,7 @@ WHERE c.contype = 'f'
|
|
86
86
|
AND t3.nspname = ANY (current_schemas(false))
|
87
87
|
ORDER BY c.conname
|
88
88
|
|
89
|
-
[1m[36m (1.
|
89
|
+
[1m[36m (1.2ms)[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
|
90
90
|
FROM pg_constraint c
|
91
91
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
92
92
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -122,9 +122,9 @@ 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.
|
126
|
-
[1m[35m (0.
|
127
|
-
[1m[36m (
|
125
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
126
|
+
[1m[35m (0.5ms)[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 (0.9ms)[0m [1m SELECT schemaname || '.' || tablename
|
128
128
|
FROM pg_tables
|
129
129
|
WHERE
|
130
130
|
tablename !~ '_prt_' AND
|
@@ -132,247 +132,242 @@ ORDER BY c.conname
|
|
132
132
|
schemaname = ANY (current_schemas(false))
|
133
133
|
[0m
|
134
134
|
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
135
|
-
[1m[36m (
|
135
|
+
[1m[36m (9.9ms)[0m [1mTRUNCATE TABLE "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
|
136
136
|
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" 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
|
137
137
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138
138
|
--------------------------------------------------------------------------
|
139
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
139
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0001_anonymous
|
140
140
|
--------------------------------------------------------------------------
|
141
141
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
142
142
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
143
|
-
[1m[35m (0.
|
143
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
144
144
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
145
|
-
[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-11-
|
145
|
+
[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-11-08 15:08:43.670435"], ["updated_at", "2015-11-08 15:08:43.670435"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
146
146
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
147
147
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
148
148
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
149
149
|
[1m[35m (0.1ms)[0m BEGIN
|
150
150
|
--------------------------------------------------------------------------
|
151
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
151
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0004_anonymous
|
152
152
|
--------------------------------------------------------------------------
|
153
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
154
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
155
153
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
154
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
155
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[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", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-11-
|
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", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-11-08 15:08:43.678838"], ["updated_at", "2015-11-08 15:08:43.678838"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
158
158
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
159
159
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
160
160
|
[1m[35m (0.1ms)[0m ROLLBACK
|
161
161
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
162
162
|
--------------------------------------------------------------------------
|
163
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
163
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0007_anonymous
|
164
164
|
--------------------------------------------------------------------------
|
165
|
-
[1m[35m (0.
|
165
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
166
166
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
167
167
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
168
168
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
169
|
-
[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-11-
|
169
|
+
[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-11-08 15:08:43.682640"], ["updated_at", "2015-11-08 15:08:43.682640"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
170
170
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
171
171
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
172
172
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
173
173
|
[1m[35m (0.1ms)[0m BEGIN
|
174
174
|
--------------------------------------------------------------------------
|
175
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
175
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0005_anonymous
|
176
176
|
--------------------------------------------------------------------------
|
177
177
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
178
|
-
[1m[35m (0.
|
179
|
-
[1m[36m (0.
|
180
|
-
[1m[35m (0.
|
181
|
-
[1m[36mSQL (0.
|
178
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
179
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
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", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015-11-08 15:08:43.686483"], ["updated_at", "2015-11-08 15:08:43.686483"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
182
182
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
183
183
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
184
184
|
[1m[35m (0.1ms)[0m ROLLBACK
|
185
185
|
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
186
186
|
--------------------------------------------------------------------------
|
187
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
187
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0006_anonymous
|
188
188
|
--------------------------------------------------------------------------
|
189
189
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190
190
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
191
191
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
192
192
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
193
|
-
[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", "5"], ["created_at", "2015-11-
|
193
|
+
[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", "5"], ["created_at", "2015-11-08 15:08:43.690200"], ["updated_at", "2015-11-08 15:08:43.690200"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
194
194
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
195
195
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
196
196
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
197
197
|
[1m[35m (0.1ms)[0m BEGIN
|
198
198
|
--------------------------------------------------------------------------
|
199
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
199
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0002_anonymous
|
200
200
|
--------------------------------------------------------------------------
|
201
|
-
[1m[36m (0.
|
201
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
202
202
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
203
|
-
[1m[36m (0.
|
203
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
204
204
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
205
|
-
[1m[36mSQL (0.
|
205
|
+
[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", "6"], ["created_at", "2015-11-08 15:08:43.694534"], ["updated_at", "2015-11-08 15:08:43.694534"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
206
206
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
207
207
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
208
208
|
[1m[35m (0.1ms)[0m ROLLBACK
|
209
209
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
210
210
|
--------------------------------------------------------------------------
|
211
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
211
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0003_anonymous
|
212
212
|
--------------------------------------------------------------------------
|
213
213
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
214
|
-
[1m[36m (0.
|
214
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
215
215
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
216
216
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
217
|
-
[1m[35mSQL (0.
|
217
|
+
[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", "7"], ["created_at", "2015-11-08 15:08:43.698509"], ["updated_at", "2015-11-08 15:08:43.698509"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
218
218
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
219
219
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
220
220
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
221
221
|
[1m[35m (0.1ms)[0m BEGIN
|
222
|
-
|
223
|
-
PushType::
|
224
|
-
|
222
|
+
------------------------------------------------------------------------------------
|
223
|
+
PushType::WysiwygMediaControllerTest::POST #create::asset count: test_0001_anonymous
|
224
|
+
------------------------------------------------------------------------------------
|
225
225
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
226
226
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
227
227
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
228
|
-
[1m[35m (0.
|
229
|
-
|
230
|
-
|
231
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
232
|
-
[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", "9"], ["created_at", "2015-11-02 20:28:04.941637"], ["updated_at", "2015-11-02 20:28:04.941637"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
233
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
234
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
235
|
-
[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", "10"], ["created_at", "2015-11-02 20:28:04.943832"], ["updated_at", "2015-11-02 20:28:04.943832"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
236
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
228
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
229
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
230
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fb3f90424f0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151108-11009-u1ghas>>}}
|
237
231
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
238
|
-
[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
|
+
[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", "8"], ["created_at", "2015-11-08 15:08:43.733644"], ["updated_at", "2015-11-08 15:08:43.733644"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
239
233
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
240
|
-
|
241
|
-
[1m[
|
242
|
-
[1m[
|
243
|
-
[1m[
|
244
|
-
[1m[
|
234
|
+
Completed 200 OK in 8ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
235
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
236
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
237
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
238
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
245
239
|
---------------------------------------------------------------------------
|
246
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash:
|
240
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0005_anonymous
|
247
241
|
---------------------------------------------------------------------------
|
248
|
-
[1m[
|
249
|
-
[1m[
|
250
|
-
[1m[
|
251
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
252
|
-
[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", "12"], ["created_at", "2015-11-02 20:28:04.954526"], ["updated_at", "2015-11-02 20:28:04.954526"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
253
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
242
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
243
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
244
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
254
245
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
255
|
-
[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
|
+
[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", "9"], ["created_at", "2015-11-08 15:08:43.739741"], ["updated_at", "2015-11-08 15:08:43.739741"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
256
247
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
257
248
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
258
|
-
[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
|
+
[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", "10"], ["created_at", "2015-11-08 15:08:43.742028"], ["updated_at", "2015-11-08 15:08:43.742028"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
259
250
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
260
251
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
261
|
-
[1m[35mSQL (0.
|
252
|
+
[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", "11"], ["created_at", "2015-11-08 15:08:43.744131"], ["updated_at", "2015-11-08 15:08:43.744131"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
262
253
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
263
|
-
[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
|
264
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
265
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
266
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
267
|
-
[1m[35m (0.1ms)[0m BEGIN
|
268
|
-
---------------------------------------------------------------------------
|
269
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0001_anonymous
|
270
|
-
---------------------------------------------------------------------------
|
271
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
272
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
273
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
274
254
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
275
|
-
[1m[36mSQL (0.
|
255
|
+
[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", "12"], ["created_at", "2015-11-08 15:08:43.746213"], ["updated_at", "2015-11-08 15:08:43.746213"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
276
256
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
257
|
+
[1m[36mPushType::Asset Load (0.5ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
258
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
259
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
260
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
261
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
262
|
+
---------------------------------------------------------------------------
|
263
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0002_anonymous
|
264
|
+
---------------------------------------------------------------------------
|
265
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
266
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
267
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
277
268
|
[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", "
|
269
|
+
[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", "13"], ["created_at", "2015-11-08 15:08:43.754181"], ["updated_at", "2015-11-08 15:08:43.754181"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
279
270
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
280
271
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "
|
272
|
+
[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", "14"], ["created_at", "2015-11-08 15:08:43.756445"], ["updated_at", "2015-11-08 15:08:43.756445"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
282
273
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
283
274
|
[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", "
|
275
|
+
[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", "15"], ["created_at", "2015-11-08 15:08:43.758588"], ["updated_at", "2015-11-08 15:08:43.758588"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
285
276
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
286
|
-
[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
|
287
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
288
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
289
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
290
|
-
[1m[35m (0.0ms)[0m BEGIN
|
291
|
-
---------------------------------------------------------------------------
|
292
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0002_anonymous
|
293
|
-
---------------------------------------------------------------------------
|
294
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
295
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
296
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297
277
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
298
|
-
[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", "
|
278
|
+
[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", "16"], ["created_at", "2015-11-08 15:08:43.760659"], ["updated_at", "2015-11-08 15:08:43.760659"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
299
279
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
280
|
+
[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
|
281
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
282
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
283
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
284
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
285
|
+
---------------------------------------------------------------------------
|
286
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0001_anonymous
|
287
|
+
---------------------------------------------------------------------------
|
288
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
289
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
290
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
300
291
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
301
|
-
[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", "
|
292
|
+
[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", "17"], ["created_at", "2015-11-08 15:08:43.766210"], ["updated_at", "2015-11-08 15:08:43.766210"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
302
293
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
303
294
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
304
|
-
[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", "
|
295
|
+
[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", "18"], ["created_at", "2015-11-08 15:08:43.768430"], ["updated_at", "2015-11-08 15:08:43.768430"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
305
296
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
306
297
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
307
|
-
[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", "
|
298
|
+
[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", "19"], ["created_at", "2015-11-08 15:08:43.770561"], ["updated_at", "2015-11-08 15:08:43.770561"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
308
299
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
309
|
-
[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
|
310
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
311
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
312
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
313
|
-
[1m[35m (0.1ms)[0m BEGIN
|
314
|
-
---------------------------------------------------------------------------
|
315
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0005_anonymous
|
316
|
-
---------------------------------------------------------------------------
|
317
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
318
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
319
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
320
300
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
321
|
-
[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", "
|
301
|
+
[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", "20"], ["created_at", "2015-11-08 15:08:43.772857"], ["updated_at", "2015-11-08 15:08:43.772857"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
322
302
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
303
|
+
[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
|
304
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
305
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
306
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
307
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
308
|
+
---------------------------------------------------------------------------
|
309
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0004_anonymous
|
310
|
+
---------------------------------------------------------------------------
|
311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
312
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
313
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
323
314
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
324
|
-
[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", "
|
315
|
+
[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-11-08 15:08:43.778478"], ["updated_at", "2015-11-08 15:08:43.778478"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
325
316
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
326
317
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
327
|
-
[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", "
|
318
|
+
[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-11-08 15:08:43.780728"], ["updated_at", "2015-11-08 15:08:43.780728"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
328
319
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
329
320
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
330
|
-
[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", "
|
321
|
+
[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-11-08 15:08:43.783019"], ["updated_at", "2015-11-08 15:08:43.783019"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
331
322
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
332
|
-
[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
|
333
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
334
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
335
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
336
|
-
[1m[35m (0.1ms)[0m BEGIN
|
337
|
-
---------------------------------------------------------------------------
|
338
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0004_anonymous
|
339
|
-
---------------------------------------------------------------------------
|
340
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
341
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
342
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
343
323
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
344
|
-
[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", "
|
324
|
+
[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", "24"], ["created_at", "2015-11-08 15:08:43.785210"], ["updated_at", "2015-11-08 15:08:43.785210"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
345
325
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
326
|
+
[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
|
327
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
328
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
329
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
330
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
331
|
+
---------------------------------------------------------------------------
|
332
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0003_anonymous
|
333
|
+
---------------------------------------------------------------------------
|
334
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
335
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
336
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
346
337
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
347
|
-
[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", "
|
338
|
+
[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", "25"], ["created_at", "2015-11-08 15:08:43.790698"], ["updated_at", "2015-11-08 15:08:43.790698"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
348
339
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
349
340
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
350
|
-
[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", "
|
341
|
+
[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", "26"], ["created_at", "2015-11-08 15:08:43.792820"], ["updated_at", "2015-11-08 15:08:43.792820"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
351
342
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
352
343
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
353
|
-
[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", "
|
344
|
+
[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", "27"], ["created_at", "2015-11-08 15:08:43.795004"], ["updated_at", "2015-11-08 15:08:43.795004"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
354
345
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
346
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
347
|
+
[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", "28"], ["created_at", "2015-11-08 15:08:43.797061"], ["updated_at", "2015-11-08 15:08:43.797061"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
348
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
349
|
+
[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
|
355
350
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
356
351
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
357
352
|
[1m[35m (0.1ms)[0m ROLLBACK
|
358
353
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
359
354
|
---------------------------------------------------------------------------
|
360
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta:
|
355
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0005_anonymous
|
361
356
|
---------------------------------------------------------------------------
|
362
|
-
[1m[35m (0.
|
363
|
-
[1m[36m (0.
|
357
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
358
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
364
359
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
365
360
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
366
|
-
[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", "
|
361
|
+
[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", "29"], ["created_at", "2015-11-08 15:08:43.805218"], ["updated_at", "2015-11-08 15:08:43.805218"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
367
362
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
368
363
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
369
|
-
[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", "
|
364
|
+
[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", "30"], ["created_at", "2015-11-08 15:08:43.807483"], ["updated_at", "2015-11-08 15:08:43.807483"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
370
365
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
371
366
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
372
|
-
[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", "
|
367
|
+
[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", "31"], ["created_at", "2015-11-08 15:08:43.809599"], ["updated_at", "2015-11-08 15:08:43.809599"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
373
368
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
374
369
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
375
|
-
[1m[36mSQL (0.
|
370
|
+
[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", "32"], ["created_at", "2015-11-08 15:08:43.811633"], ["updated_at", "2015-11-08 15:08:43.811633"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
376
371
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
377
372
|
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
378
373
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
@@ -381,145 +376,150 @@ PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0002_anonymous
|
|
381
376
|
---------------------------------------------------------------------------
|
382
377
|
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0001_anonymous
|
383
378
|
---------------------------------------------------------------------------
|
384
|
-
[1m[36m (0.
|
379
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
385
380
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
386
381
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
387
382
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
388
|
-
[1m[36mSQL (0.
|
383
|
+
[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", "33"], ["created_at", "2015-11-08 15:08:43.816427"], ["updated_at", "2015-11-08 15:08:43.816427"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
389
384
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
390
385
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
391
|
-
[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", "
|
386
|
+
[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", "34"], ["created_at", "2015-11-08 15:08:43.819044"], ["updated_at", "2015-11-08 15:08:43.819044"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
392
387
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
393
388
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
394
|
-
[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", "
|
389
|
+
[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", "35"], ["created_at", "2015-11-08 15:08:43.821225"], ["updated_at", "2015-11-08 15:08:43.821225"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
395
390
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
396
391
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
397
|
-
[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", "
|
392
|
+
[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", "36"], ["created_at", "2015-11-08 15:08:43.823266"], ["updated_at", "2015-11-08 15:08:43.823266"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
398
393
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
399
|
-
[1m[35m (0.
|
394
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
400
395
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
401
396
|
[1m[35m (0.1ms)[0m ROLLBACK
|
402
397
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
403
398
|
---------------------------------------------------------------------------
|
404
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta:
|
399
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0002_anonymous
|
405
400
|
---------------------------------------------------------------------------
|
406
|
-
[1m[35m (0.
|
407
|
-
[1m[36m (0.
|
401
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
402
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
408
403
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
409
404
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
410
|
-
[1m[35mSQL (0.
|
405
|
+
[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", "37"], ["created_at", "2015-11-08 15:08:43.827684"], ["updated_at", "2015-11-08 15:08:43.827684"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
411
406
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
412
407
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
413
|
-
[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", "
|
408
|
+
[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-11-08 15:08:43.830065"], ["updated_at", "2015-11-08 15:08:43.830065"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
414
409
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
415
410
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
416
|
-
[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", "
|
411
|
+
[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-11-08 15:08:43.832401"], ["updated_at", "2015-11-08 15:08:43.832401"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
417
412
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
418
413
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
419
|
-
[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", "
|
414
|
+
[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-11-08 15:08:43.834499"], ["updated_at", "2015-11-08 15:08:43.834499"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
420
415
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
421
416
|
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
422
417
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
423
|
-
[1m[36m (0.
|
418
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
424
419
|
[1m[35m (0.1ms)[0m BEGIN
|
425
420
|
---------------------------------------------------------------------------
|
426
421
|
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0003_anonymous
|
427
422
|
---------------------------------------------------------------------------
|
428
|
-
[1m[36m (0.
|
423
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
429
424
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
430
425
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
431
426
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
432
|
-
[1m[36mSQL (0.
|
427
|
+
[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", "41"], ["created_at", "2015-11-08 15:08:43.839028"], ["updated_at", "2015-11-08 15:08:43.839028"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
433
428
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
434
429
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
435
|
-
[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", "
|
430
|
+
[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", "42"], ["created_at", "2015-11-08 15:08:43.841255"], ["updated_at", "2015-11-08 15:08:43.841255"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
436
431
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
437
432
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
438
|
-
[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", "
|
433
|
+
[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", "43"], ["created_at", "2015-11-08 15:08:43.843291"], ["updated_at", "2015-11-08 15:08:43.843291"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
439
434
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
440
435
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
441
|
-
[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", "
|
436
|
+
[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", "44"], ["created_at", "2015-11-08 15:08:43.845297"], ["updated_at", "2015-11-08 15:08:43.845297"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
442
437
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
443
|
-
[1m[35m (0.
|
438
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
444
439
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
445
440
|
[1m[35m (0.1ms)[0m ROLLBACK
|
446
441
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
447
|
-
|
448
|
-
PushType::
|
449
|
-
|
450
|
-
[1m[35m (0.
|
451
|
-
[1m[36m (0.
|
452
|
-
[1m[35m (0.
|
453
|
-
[1m[36m (0.1ms)[0m [
|
454
|
-
|
455
|
-
|
442
|
+
---------------------------------------------------------------------------
|
443
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0004_anonymous
|
444
|
+
---------------------------------------------------------------------------
|
445
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
446
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
447
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
448
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
449
|
+
[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", "45"], ["created_at", "2015-11-08 15:08:43.849788"], ["updated_at", "2015-11-08 15:08:43.849788"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
450
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
451
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
452
|
+
[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", "46"], ["created_at", "2015-11-08 15:08:43.852010"], ["updated_at", "2015-11-08 15:08:43.852010"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
453
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
454
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
455
|
+
[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", "47"], ["created_at", "2015-11-08 15:08:43.854070"], ["updated_at", "2015-11-08 15:08:43.854070"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
456
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
456
457
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
457
|
-
[1m[36mSQL (0.
|
458
|
+
[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", "48"], ["created_at", "2015-11-08 15:08:43.856229"], ["updated_at", "2015-11-08 15:08:43.856229"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
458
459
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
459
|
-
Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
460
460
|
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
461
461
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
462
462
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
463
|
-
[1m[35m (0.
|
463
|
+
[1m[35m (0.1ms)[0m BEGIN
|
464
464
|
-------------------------------------------------------------------------------------------
|
465
465
|
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0001_anonymous
|
466
466
|
-------------------------------------------------------------------------------------------
|
467
|
-
[1m[36m (0.
|
467
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
468
468
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
469
469
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
470
470
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
471
|
-
[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", "49"], ["created_at", "2015-11-
|
471
|
+
[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", "49"], ["created_at", "2015-11-08 15:08:43.861130"], ["updated_at", "2015-11-08 15:08:43.861130"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
472
472
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
473
473
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
474
|
-
[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", "50"], ["created_at", "2015-11-
|
474
|
+
[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", "50"], ["created_at", "2015-11-08 15:08:43.863250"], ["updated_at", "2015-11-08 15:08:43.863250"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
475
475
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
476
476
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
477
|
-
[1m[36mSQL (0.
|
477
|
+
[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", "51"], ["created_at", "2015-11-08 15:08:43.865207"], ["updated_at", "2015-11-08 15:08:43.865207"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
478
478
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
479
479
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
480
|
-
[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", "52"], ["created_at", "2015-11-
|
480
|
+
[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", "52"], ["created_at", "2015-11-08 15:08:43.867227"], ["updated_at", "2015-11-08 15:08:43.867227"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
481
481
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
482
482
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
483
|
-
[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", "53"], ["created_at", "2015-11-
|
483
|
+
[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", "53"], ["created_at", "2015-11-08 15:08:43.869218"], ["updated_at", "2015-11-08 15:08:43.869218"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
484
484
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
485
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", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015-11-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015-11-08 15:08:43.871590"], ["updated_at", "2015-11-08 15:08:43.871590"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
487
487
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
488
488
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
489
|
-
[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", "55"], ["created_at", "2015-11-
|
489
|
+
[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", "55"], ["created_at", "2015-11-08 15:08:43.873623"], ["updated_at", "2015-11-08 15:08:43.873623"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
490
490
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
491
491
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
492
|
-
[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", "56"], ["created_at", "2015-11-
|
492
|
+
[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", "56"], ["created_at", "2015-11-08 15:08:43.875775"], ["updated_at", "2015-11-08 15:08:43.875775"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
493
493
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
494
494
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
495
|
-
[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", "57"], ["created_at", "2015-11-
|
495
|
+
[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", "57"], ["created_at", "2015-11-08 15:08:43.877822"], ["updated_at", "2015-11-08 15:08:43.877822"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
496
496
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
497
497
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
498
|
-
[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", "58"], ["created_at", "2015-11-
|
498
|
+
[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", "58"], ["created_at", "2015-11-08 15:08:43.879841"], ["updated_at", "2015-11-08 15:08:43.879841"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
499
499
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
500
500
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
501
|
-
[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", "59"], ["created_at", "2015-11-
|
501
|
+
[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", "59"], ["created_at", "2015-11-08 15:08:43.881942"], ["updated_at", "2015-11-08 15:08:43.881942"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
502
502
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
503
503
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
504
|
-
[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", "60"], ["created_at", "2015-11-
|
504
|
+
[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", "60"], ["created_at", "2015-11-08 15:08:43.884099"], ["updated_at", "2015-11-08 15:08:43.884099"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
505
505
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
506
506
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
507
|
-
[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", "61"], ["created_at", "2015-11-
|
507
|
+
[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", "61"], ["created_at", "2015-11-08 15:08:43.886099"], ["updated_at", "2015-11-08 15:08:43.886099"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
508
508
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
509
509
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
510
|
-
[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", "62"], ["created_at", "2015-11-
|
510
|
+
[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", "62"], ["created_at", "2015-11-08 15:08:43.888209"], ["updated_at", "2015-11-08 15:08:43.888209"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
511
511
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
512
512
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
513
|
-
[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", "63"], ["created_at", "2015-11-
|
513
|
+
[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", "63"], ["created_at", "2015-11-08 15:08:43.890318"], ["updated_at", "2015-11-08 15:08:43.890318"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
514
514
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
515
515
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
516
|
-
[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", "64"], ["created_at", "2015-11-
|
516
|
+
[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", "64"], ["created_at", "2015-11-08 15:08:43.892409"], ["updated_at", "2015-11-08 15:08:43.892409"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
517
517
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
518
518
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
519
|
-
[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", "65"], ["created_at", "2015-11-
|
519
|
+
[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", "65"], ["created_at", "2015-11-08 15:08:43.894801"], ["updated_at", "2015-11-08 15:08:43.894801"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
520
520
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
521
521
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
522
|
-
[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", "66"], ["created_at", "2015-11-
|
522
|
+
[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", "66"], ["created_at", "2015-11-08 15:08:43.896892"], ["updated_at", "2015-11-08 15:08:43.896892"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
523
523
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
524
524
|
Processing by PushType::WysiwygMediaController#index as JSON
|
525
525
|
Parameters: {"filter"=>"image"}
|
@@ -527,141 +527,141 @@ Processing by PushType::WysiwygMediaController#index as JSON
|
|
527
527
|
[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
|
528
528
|
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
529
529
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
530
|
-
[1m[36m (0.
|
530
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
531
531
|
[1m[35m (0.1ms)[0m BEGIN
|
532
532
|
-------------------------------------------------------------------------------------------
|
533
533
|
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0004_anonymous
|
534
534
|
-------------------------------------------------------------------------------------------
|
535
535
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
536
|
-
[1m[35m (0.
|
536
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
537
537
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
538
538
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
539
|
-
[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", "67"], ["created_at", "2015-11-
|
539
|
+
[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", "67"], ["created_at", "2015-11-08 15:08:43.909622"], ["updated_at", "2015-11-08 15:08:43.909622"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
540
540
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
541
541
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
542
|
-
[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", "68"], ["created_at", "2015-11-
|
542
|
+
[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", "68"], ["created_at", "2015-11-08 15:08:43.911853"], ["updated_at", "2015-11-08 15:08:43.911853"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
543
543
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
544
544
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
545
|
-
[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", "69"], ["created_at", "2015-11-
|
545
|
+
[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", "69"], ["created_at", "2015-11-08 15:08:43.913993"], ["updated_at", "2015-11-08 15:08:43.913993"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
546
546
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
547
547
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
548
|
-
[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", "70"], ["created_at", "2015-11-
|
548
|
+
[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", "70"], ["created_at", "2015-11-08 15:08:43.916143"], ["updated_at", "2015-11-08 15:08:43.916143"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
549
549
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
550
550
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
551
|
-
[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", "71"], ["created_at", "2015-11-
|
551
|
+
[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", "71"], ["created_at", "2015-11-08 15:08:43.918169"], ["updated_at", "2015-11-08 15:08:43.918169"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
552
552
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
553
553
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
554
|
-
[1m[35mSQL (0.
|
554
|
+
[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", "72"], ["created_at", "2015-11-08 15:08:43.920380"], ["updated_at", "2015-11-08 15:08:43.920380"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
555
555
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
556
556
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
557
|
-
[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", "73"], ["created_at", "2015-11-
|
557
|
+
[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", "73"], ["created_at", "2015-11-08 15:08:43.922435"], ["updated_at", "2015-11-08 15:08:43.922435"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
558
558
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
559
559
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
560
|
-
[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", "74"], ["created_at", "2015-11-
|
560
|
+
[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", "74"], ["created_at", "2015-11-08 15:08:43.924528"], ["updated_at", "2015-11-08 15:08:43.924528"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
561
561
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
562
562
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
563
|
-
[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", "75"], ["created_at", "2015-11-
|
563
|
+
[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", "75"], ["created_at", "2015-11-08 15:08:43.926521"], ["updated_at", "2015-11-08 15:08:43.926521"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
564
564
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
565
565
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
566
|
-
[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", "76"], ["created_at", "2015-11-
|
566
|
+
[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", "76"], ["created_at", "2015-11-08 15:08:43.928555"], ["updated_at", "2015-11-08 15:08:43.928555"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
567
567
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
568
568
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
569
|
-
[1m[36mSQL (0.
|
569
|
+
[1m[36mSQL (0.3ms)[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", "77"], ["created_at", "2015-11-08 15:08:43.930732"], ["updated_at", "2015-11-08 15:08:43.930732"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
570
570
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
571
571
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
572
|
-
[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", "78"], ["created_at", "2015-11-
|
572
|
+
[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", "78"], ["created_at", "2015-11-08 15:08:43.933057"], ["updated_at", "2015-11-08 15:08:43.933057"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
573
573
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
574
574
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
575
|
-
[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", "79"], ["created_at", "2015-11-
|
575
|
+
[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", "79"], ["created_at", "2015-11-08 15:08:43.935056"], ["updated_at", "2015-11-08 15:08:43.935056"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
576
576
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
577
577
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
578
|
-
[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", "80"], ["created_at", "2015-11-
|
578
|
+
[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", "80"], ["created_at", "2015-11-08 15:08:43.937097"], ["updated_at", "2015-11-08 15:08:43.937097"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
579
579
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
580
580
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
581
|
-
[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", "81"], ["created_at", "2015-11-
|
581
|
+
[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", "81"], ["created_at", "2015-11-08 15:08:43.939156"], ["updated_at", "2015-11-08 15:08:43.939156"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
582
582
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
583
583
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
584
|
-
[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", "82"], ["created_at", "2015-11-
|
584
|
+
[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", "82"], ["created_at", "2015-11-08 15:08:43.941238"], ["updated_at", "2015-11-08 15:08:43.941238"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
585
585
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
586
586
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
587
|
-
[1m[36mSQL (0.
|
587
|
+
[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", "83"], ["created_at", "2015-11-08 15:08:43.944089"], ["updated_at", "2015-11-08 15:08:43.944089"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
588
588
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
589
589
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
590
|
-
[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", "84"], ["created_at", "2015-11-
|
590
|
+
[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", "84"], ["created_at", "2015-11-08 15:08:43.946223"], ["updated_at", "2015-11-08 15:08:43.946223"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
591
591
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
592
592
|
Processing by PushType::WysiwygMediaController#index as JSON
|
593
593
|
Parameters: {"filter"=>"image"}
|
594
594
|
[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 0
|
595
595
|
[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
|
596
|
-
Completed 200 OK in
|
596
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
597
597
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
598
598
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
599
599
|
[1m[35m (0.1ms)[0m BEGIN
|
600
600
|
-------------------------------------------------------------------------------------------
|
601
601
|
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0002_anonymous
|
602
602
|
-------------------------------------------------------------------------------------------
|
603
|
-
[1m[36m (0.
|
603
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
604
604
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
605
605
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
606
606
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
607
|
-
[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", "85"], ["created_at", "2015-11-
|
607
|
+
[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", "85"], ["created_at", "2015-11-08 15:08:43.954223"], ["updated_at", "2015-11-08 15:08:43.954223"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
608
608
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
609
609
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
610
|
-
[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", "86"], ["created_at", "2015-11-
|
610
|
+
[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", "86"], ["created_at", "2015-11-08 15:08:43.956519"], ["updated_at", "2015-11-08 15:08:43.956519"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
611
611
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
612
612
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
613
|
-
[1m[36mSQL (0.
|
613
|
+
[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", "87"], ["created_at", "2015-11-08 15:08:43.958566"], ["updated_at", "2015-11-08 15:08:43.958566"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
614
614
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
615
615
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
616
|
-
[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", "88"], ["created_at", "2015-11-
|
616
|
+
[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", "88"], ["created_at", "2015-11-08 15:08:43.960580"], ["updated_at", "2015-11-08 15:08:43.960580"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
617
617
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
618
618
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
619
|
-
[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", "89"], ["created_at", "2015-11-
|
619
|
+
[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", "89"], ["created_at", "2015-11-08 15:08:43.962588"], ["updated_at", "2015-11-08 15:08:43.962588"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
620
620
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
621
621
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
622
|
-
[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", "90"], ["created_at", "2015-11-
|
622
|
+
[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", "90"], ["created_at", "2015-11-08 15:08:43.964560"], ["updated_at", "2015-11-08 15:08:43.964560"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
623
623
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
624
624
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
625
|
-
[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", "91"], ["created_at", "2015-11-
|
625
|
+
[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", "91"], ["created_at", "2015-11-08 15:08:43.966667"], ["updated_at", "2015-11-08 15:08:43.966667"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
626
626
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
627
627
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
628
|
-
[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", "92"], ["created_at", "2015-11-
|
628
|
+
[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", "92"], ["created_at", "2015-11-08 15:08:43.968782"], ["updated_at", "2015-11-08 15:08:43.968782"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
629
629
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
630
630
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
631
|
-
[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", "93"], ["created_at", "2015-11-
|
631
|
+
[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", "93"], ["created_at", "2015-11-08 15:08:43.970818"], ["updated_at", "2015-11-08 15:08:43.970818"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
632
632
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
633
633
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
634
|
-
[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", "94"], ["created_at", "2015-11-
|
634
|
+
[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", "94"], ["created_at", "2015-11-08 15:08:43.972749"], ["updated_at", "2015-11-08 15:08:43.972749"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
635
635
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
636
636
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
637
|
-
[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", "95"], ["created_at", "2015-11-
|
637
|
+
[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", "95"], ["created_at", "2015-11-08 15:08:43.974862"], ["updated_at", "2015-11-08 15:08:43.974862"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
638
638
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
639
639
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
640
|
-
[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", "96"], ["created_at", "2015-11-
|
640
|
+
[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", "96"], ["created_at", "2015-11-08 15:08:43.976853"], ["updated_at", "2015-11-08 15:08:43.976853"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
641
641
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
642
642
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
643
|
-
[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", "97"], ["created_at", "2015-11-
|
643
|
+
[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", "97"], ["created_at", "2015-11-08 15:08:43.978950"], ["updated_at", "2015-11-08 15:08:43.978950"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
644
644
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
645
645
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
646
|
-
[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", "98"], ["created_at", "2015-11-
|
646
|
+
[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", "98"], ["created_at", "2015-11-08 15:08:43.981022"], ["updated_at", "2015-11-08 15:08:43.981022"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
647
647
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
648
648
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
649
|
-
[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", "99"], ["created_at", "2015-11-
|
649
|
+
[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", "99"], ["created_at", "2015-11-08 15:08:43.983129"], ["updated_at", "2015-11-08 15:08:43.983129"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
650
650
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
651
651
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
652
|
-
[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", "100"], ["created_at", "2015-11-
|
652
|
+
[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", "100"], ["created_at", "2015-11-08 15:08:43.985077"], ["updated_at", "2015-11-08 15:08:43.985077"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
653
653
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
654
654
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
655
|
-
[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", "101"], ["created_at", "2015-11-
|
655
|
+
[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", "101"], ["created_at", "2015-11-08 15:08:43.987166"], ["updated_at", "2015-11-08 15:08:43.987166"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
656
656
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
657
657
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
658
|
-
[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", "102"], ["created_at", "2015-11-
|
658
|
+
[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", "102"], ["created_at", "2015-11-08 15:08:43.989370"], ["updated_at", "2015-11-08 15:08:43.989370"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
659
659
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
660
660
|
Processing by PushType::WysiwygMediaController#index as JSON
|
661
661
|
Parameters: {"filter"=>"image"}
|
662
662
|
[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 0
|
663
663
|
[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
|
664
|
-
Completed 200 OK in
|
664
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
665
665
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
666
666
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
667
667
|
[1m[35m (0.1ms)[0m BEGIN
|
@@ -669,89 +669,89 @@ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
|
669
669
|
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0003_anonymous
|
670
670
|
-------------------------------------------------------------------------------------------
|
671
671
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
672
|
-
[1m[35m (0.
|
673
|
-
[1m[36m (0.
|
672
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
673
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
674
674
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
675
|
-
[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", "103"], ["created_at", "2015-11-
|
675
|
+
[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", "103"], ["created_at", "2015-11-08 15:08:43.997264"], ["updated_at", "2015-11-08 15:08:43.997264"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
676
676
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
677
677
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
678
|
-
[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", "104"], ["created_at", "2015-11-
|
678
|
+
[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", "104"], ["created_at", "2015-11-08 15:08:43.999468"], ["updated_at", "2015-11-08 15:08:43.999468"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
679
679
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
680
680
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
681
|
-
[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", "105"], ["created_at", "2015-11-
|
681
|
+
[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", "105"], ["created_at", "2015-11-08 15:08:44.001969"], ["updated_at", "2015-11-08 15:08:44.001969"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
682
682
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
683
683
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
684
|
-
[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", "106"], ["created_at", "2015-11-
|
684
|
+
[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", "106"], ["created_at", "2015-11-08 15:08:44.004237"], ["updated_at", "2015-11-08 15:08:44.004237"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
685
685
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
686
686
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
687
|
-
[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", "107"], ["created_at", "2015-11-
|
687
|
+
[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", "107"], ["created_at", "2015-11-08 15:08:44.006339"], ["updated_at", "2015-11-08 15:08:44.006339"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
688
688
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
689
689
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
690
|
-
[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", "108"], ["created_at", "2015-11-
|
690
|
+
[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", "108"], ["created_at", "2015-11-08 15:08:44.008427"], ["updated_at", "2015-11-08 15:08:44.008427"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
691
691
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
692
692
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
693
|
-
[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", "109"], ["created_at", "2015-11-
|
693
|
+
[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", "109"], ["created_at", "2015-11-08 15:08:44.010609"], ["updated_at", "2015-11-08 15:08:44.010609"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
694
694
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
695
695
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
696
|
-
[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", "110"], ["created_at", "2015-11-
|
696
|
+
[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", "110"], ["created_at", "2015-11-08 15:08:44.012665"], ["updated_at", "2015-11-08 15:08:44.012665"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
697
697
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
698
698
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
699
|
-
[1m[36mSQL (0.
|
699
|
+
[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", "111"], ["created_at", "2015-11-08 15:08:44.014736"], ["updated_at", "2015-11-08 15:08:44.014736"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
700
700
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
701
701
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
702
|
-
[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", "112"], ["created_at", "2015-11-
|
702
|
+
[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", "112"], ["created_at", "2015-11-08 15:08:44.016889"], ["updated_at", "2015-11-08 15:08:44.016889"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
703
703
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
704
704
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
705
|
-
[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", "113"], ["created_at", "2015-11-
|
705
|
+
[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", "113"], ["created_at", "2015-11-08 15:08:44.019004"], ["updated_at", "2015-11-08 15:08:44.019004"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
706
706
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
707
707
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
708
|
-
[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", "114"], ["created_at", "2015-11-
|
708
|
+
[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", "114"], ["created_at", "2015-11-08 15:08:44.021081"], ["updated_at", "2015-11-08 15:08:44.021081"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
709
709
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
710
710
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
711
|
-
[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", "115"], ["created_at", "2015-11-
|
711
|
+
[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", "115"], ["created_at", "2015-11-08 15:08:44.023287"], ["updated_at", "2015-11-08 15:08:44.023287"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
712
712
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
713
713
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
714
|
-
[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", "116"], ["created_at", "2015-11-
|
714
|
+
[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", "116"], ["created_at", "2015-11-08 15:08:44.025328"], ["updated_at", "2015-11-08 15:08:44.025328"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
715
715
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
716
716
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
717
|
-
[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", "117"], ["created_at", "2015-11-
|
717
|
+
[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", "117"], ["created_at", "2015-11-08 15:08:44.027378"], ["updated_at", "2015-11-08 15:08:44.027378"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
718
718
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
719
719
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
720
|
-
[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", "118"], ["created_at", "2015-11-
|
720
|
+
[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", "118"], ["created_at", "2015-11-08 15:08:44.029499"], ["updated_at", "2015-11-08 15:08:44.029499"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
721
721
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
722
722
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
723
|
-
[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", "119"], ["created_at", "2015-11-
|
723
|
+
[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", "119"], ["created_at", "2015-11-08 15:08:44.031906"], ["updated_at", "2015-11-08 15:08:44.031906"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
724
724
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
725
725
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
726
|
-
[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", "120"], ["created_at", "2015-11-
|
726
|
+
[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", "120"], ["created_at", "2015-11-08 15:08:44.034152"], ["updated_at", "2015-11-08 15:08:44.034152"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
727
727
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
728
728
|
Processing by PushType::WysiwygMediaController#index as JSON
|
729
729
|
Parameters: {"filter"=>"image"}
|
730
|
-
[1m[35mPushType::Asset Load (0.
|
730
|
+
[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 0
|
731
731
|
[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
|
732
732
|
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
733
733
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
734
734
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
735
|
-
[1m[35m (0.
|
735
|
+
[1m[35m (0.0ms)[0m BEGIN
|
736
736
|
--------------------------------------------------------------------------------------------
|
737
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset:
|
737
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0003_anonymous
|
738
738
|
--------------------------------------------------------------------------------------------
|
739
|
-
[1m[36m (0.
|
739
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
740
740
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
741
741
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
742
742
|
Processing by PushType::WysiwygMediaController#create as JSON
|
743
743
|
Parameters: {"asset"=>{}}
|
744
744
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
745
745
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
746
|
-
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.
|
746
|
+
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
747
747
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
748
748
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
749
749
|
[1m[35m (0.1ms)[0m BEGIN
|
750
750
|
--------------------------------------------------------------------------------------------
|
751
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset:
|
751
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0002_anonymous
|
752
752
|
--------------------------------------------------------------------------------------------
|
753
|
-
[1m[36m (0.
|
754
|
-
[1m[35m (0.
|
753
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
754
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
755
755
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
756
756
|
Processing by PushType::WysiwygMediaController#create as JSON
|
757
757
|
Parameters: {"asset"=>{}}
|
@@ -762,10 +762,10 @@ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
762
762
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
763
763
|
[1m[35m (0.1ms)[0m BEGIN
|
764
764
|
--------------------------------------------------------------------------------------------
|
765
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset:
|
765
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0001_anonymous
|
766
766
|
--------------------------------------------------------------------------------------------
|
767
|
-
[1m[36m (0.
|
768
|
-
[1m[35m (0.
|
767
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
768
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
769
769
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
770
770
|
Processing by PushType::WysiwygMediaController#create as JSON
|
771
771
|
Parameters: {"asset"=>{}}
|
@@ -775,726 +775,726 @@ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
|
775
775
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
776
776
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
777
777
|
[1m[35m (0.1ms)[0m BEGIN
|
778
|
-
|
779
|
-
PushType::
|
780
|
-
|
781
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
782
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
778
|
+
--------------------------------------------------------------------------------------
|
779
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0003_anonymous
|
780
|
+
--------------------------------------------------------------------------------------
|
783
781
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
784
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
785
|
-
[1m[36mPushType::Node Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-1' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
786
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-1"], ["status", 0], ["created_at", "2015-11-02 20:28:05.311604"], ["updated_at", "2015-11-02 20:28:05.311604"]]
|
787
|
-
[1m[36m (0.2ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS tea5cca713923c75a6e5197062c850a82[0m
|
788
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "dd91e25c-aad1-4815-a892-8a4315c1ea35"], ["descendant_id", "dd91e25c-aad1-4815-a892-8a4315c1ea35"], ["generations", 0]]
|
789
|
-
[1m[36m (0.5ms)[0m [1mUPDATE "push_type_nodes"
|
790
|
-
SET "sort_order" = t.seq + -1
|
791
|
-
FROM (
|
792
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
793
|
-
FROM "push_type_nodes"
|
794
|
-
WHERE "parent_id" IS NULL
|
795
|
-
) AS t
|
796
|
-
WHERE "push_type_nodes"."id" = t.id
|
797
|
-
[0m
|
798
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "dd91e25c-aad1-4815-a892-8a4315c1ea35"]]
|
799
|
-
[1m[36mPushType::Node Load (0.2ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "dd91e25c-aad1-4815-a892-8a4315c1ea35"]]
|
800
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t82751ba85017326fc6a7ab1827b8cbf9
|
801
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
802
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
803
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
804
|
-
[1m[35m (0.1ms)[0m BEGIN
|
805
|
-
-----------------------------------------------
|
806
|
-
PushType::WysiwygFieldTest: test_0001_anonymous
|
807
|
-
-----------------------------------------------
|
808
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
809
782
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
810
783
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
811
784
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
812
|
-
[1m[
|
813
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-2"], ["status", 0], ["created_at", "2015-11-02 20:28:05.334540"], ["updated_at", "2015-11-02 20:28:05.334540"]]
|
814
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t5d03a142c60fe4043a69917a96824803[0m
|
815
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "5b7d7783-3f95-4389-aa4f-62bac8100b37"], ["descendant_id", "5b7d7783-3f95-4389-aa4f-62bac8100b37"], ["generations", 0]]
|
816
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "push_type_nodes"
|
817
|
-
SET "sort_order" = t.seq + -1
|
818
|
-
FROM (
|
819
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
820
|
-
FROM "push_type_nodes"
|
821
|
-
WHERE "parent_id" IS NULL
|
822
|
-
) AS t
|
823
|
-
WHERE "push_type_nodes"."id" = t.id
|
824
|
-
[0m
|
825
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "5b7d7783-3f95-4389-aa4f-62bac8100b37"]]
|
826
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "5b7d7783-3f95-4389-aa4f-62bac8100b37"]]
|
827
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t86fa6a081ceffa907e667e9188f93fbb
|
828
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
829
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
830
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
831
|
-
[1m[35m (0.0ms)[0m BEGIN
|
832
|
-
-----------------------------------------------
|
833
|
-
PushType::WysiwygFieldTest: test_0004_anonymous
|
834
|
-
-----------------------------------------------
|
835
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
836
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
837
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
838
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
839
|
-
[1m[36mPushType::Node Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-3' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
840
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-3"], ["status", 0], ["created_at", "2015-11-02 20:28:05.342459"], ["updated_at", "2015-11-02 20:28:05.342459"]]
|
841
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t6aac47c5906c940e200230baabee15e8[0m
|
842
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "7265df95-7550-4155-b35f-18578c49548f"], ["descendant_id", "7265df95-7550-4155-b35f-18578c49548f"], ["generations", 0]]
|
843
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "push_type_nodes"
|
844
|
-
SET "sort_order" = t.seq + -1
|
845
|
-
FROM (
|
846
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
847
|
-
FROM "push_type_nodes"
|
848
|
-
WHERE "parent_id" IS NULL
|
849
|
-
) AS t
|
850
|
-
WHERE "push_type_nodes"."id" = t.id
|
851
|
-
[0m
|
852
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "7265df95-7550-4155-b35f-18578c49548f"]]
|
853
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "7265df95-7550-4155-b35f-18578c49548f"]]
|
854
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t6f83d7cb875117305005b18c34c2994d
|
855
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
856
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
857
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
858
|
-
[1m[35m (0.1ms)[0m BEGIN
|
859
|
-
-----------------------------------------------
|
860
|
-
PushType::WysiwygFieldTest: test_0002_anonymous
|
861
|
-
-----------------------------------------------
|
862
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
863
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
864
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
865
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
866
|
-
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-4' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
867
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-4"], ["status", 0], ["created_at", "2015-11-02 20:28:05.350293"], ["updated_at", "2015-11-02 20:28:05.350293"]]
|
868
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS tfbace101b9e68a3e0489f83484232602[0m
|
869
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "14dcdeea-c51c-4a4d-b0f0-142c3fc64fbd"], ["descendant_id", "14dcdeea-c51c-4a4d-b0f0-142c3fc64fbd"], ["generations", 0]]
|
870
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "push_type_nodes"
|
871
|
-
SET "sort_order" = t.seq + -1
|
872
|
-
FROM (
|
873
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
874
|
-
FROM "push_type_nodes"
|
875
|
-
WHERE "parent_id" IS NULL
|
876
|
-
) AS t
|
877
|
-
WHERE "push_type_nodes"."id" = t.id
|
878
|
-
[0m
|
879
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "14dcdeea-c51c-4a4d-b0f0-142c3fc64fbd"]]
|
880
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "14dcdeea-c51c-4a4d-b0f0-142c3fc64fbd"]]
|
881
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS tbcb181e8802041f35584f44257f68946
|
882
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
883
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
884
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
885
|
-
[1m[35m (0.1ms)[0m BEGIN
|
886
|
-
-----------------------------------------------
|
887
|
-
PushType::WysiwygFieldTest: test_0005_anonymous
|
888
|
-
-----------------------------------------------
|
889
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
890
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
891
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
892
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
893
|
-
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-5' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
894
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-5"], ["status", 0], ["created_at", "2015-11-02 20:28:05.357923"], ["updated_at", "2015-11-02 20:28:05.357923"]]
|
895
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t2afab455acaad66ef9e0af32b775164d[0m
|
896
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "aa16b120-94a7-44da-ae84-9a4aae532b2d"], ["descendant_id", "aa16b120-94a7-44da-ae84-9a4aae532b2d"], ["generations", 0]]
|
897
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
898
|
-
SET "sort_order" = t.seq + -1
|
899
|
-
FROM (
|
900
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
901
|
-
FROM "push_type_nodes"
|
902
|
-
WHERE "parent_id" IS NULL
|
903
|
-
) AS t
|
904
|
-
WHERE "push_type_nodes"."id" = t.id
|
905
|
-
[0m
|
906
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "aa16b120-94a7-44da-ae84-9a4aae532b2d"]]
|
907
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "aa16b120-94a7-44da-ae84-9a4aae532b2d"]]
|
908
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t6d4903ac943561a160f91fddf828c233
|
909
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
910
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
911
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
912
|
-
[1m[35m (0.1ms)[0m BEGIN
|
913
|
-
-----------------------------------------------------------------------------------------
|
914
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0002_anonymous
|
915
|
-
-----------------------------------------------------------------------------------------
|
916
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
917
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
918
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
919
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
920
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f8ccb3c8db8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151102-15120-1ttyqle>>}}
|
921
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "image.png"], ["file_size", 2643], ["file_uid", "121"], ["created_at", "2015-11-02 20:28:05.369455"], ["updated_at", "2015-11-02 20:28:05.369455"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
923
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
924
|
-
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
925
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
926
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
927
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
928
|
-
-----------------------------------------------------------------------------------------
|
929
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0001_anonymous
|
930
|
-
-----------------------------------------------------------------------------------------
|
931
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
932
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
933
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
934
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
935
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f8ccb4087d8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151102-15120-1gsimqo>>}}
|
936
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
937
|
-
[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", "122"], ["created_at", "2015-11-02 20:28:05.375169"], ["updated_at", "2015-11-02 20:28:05.375169"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
938
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
939
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
940
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
941
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
942
|
-
[1m[35m (0.1ms)[0m BEGIN
|
943
|
-
-----------------------------------------------------------------------------------------
|
944
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0003_anonymous
|
945
|
-
-----------------------------------------------------------------------------------------
|
946
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
947
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
948
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
949
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
950
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f8ccbb144c8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151102-15120-1efqzz7>>}}
|
951
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
952
|
-
[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", "123"], ["created_at", "2015-11-02 20:28:05.380876"], ["updated_at", "2015-11-02 20:28:05.380876"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
785
|
+
[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", "121"], ["created_at", "2015-11-08 15:08:44.056576"], ["updated_at", "2015-11-08 15:08:44.056576"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
953
786
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
954
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
955
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
956
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
957
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
958
|
-
--------------------------------------------------------------------------------------
|
959
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0004_anonymous
|
960
|
-
--------------------------------------------------------------------------------------
|
961
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
962
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
963
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
964
787
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
965
|
-
[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", "
|
788
|
+
[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", "122"], ["created_at", "2015-11-08 15:08:44.058787"], ["updated_at", "2015-11-08 15:08:44.058787"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
966
789
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
967
790
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
968
|
-
[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", "
|
791
|
+
[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", "123"], ["created_at", "2015-11-08 15:08:44.060826"], ["updated_at", "2015-11-08 15:08:44.060826"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
969
792
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
970
793
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
971
|
-
[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", "
|
794
|
+
[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", "124"], ["created_at", "2015-11-08 15:08:44.062832"], ["updated_at", "2015-11-08 15:08:44.062832"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
972
795
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
973
796
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
974
|
-
[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", "
|
797
|
+
[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", "125"], ["created_at", "2015-11-08 15:08:44.064936"], ["updated_at", "2015-11-08 15:08:44.064936"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
975
798
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
976
799
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
977
|
-
[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", "
|
800
|
+
[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", "126"], ["created_at", "2015-11-08 15:08:44.067224"], ["updated_at", "2015-11-08 15:08:44.067224"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
978
801
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
979
802
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
980
|
-
[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", "
|
803
|
+
[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", "127"], ["created_at", "2015-11-08 15:08:44.069327"], ["updated_at", "2015-11-08 15:08:44.069327"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
981
804
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
982
805
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
983
|
-
[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", "
|
806
|
+
[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", "128"], ["created_at", "2015-11-08 15:08:44.071417"], ["updated_at", "2015-11-08 15:08:44.071417"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
984
807
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
985
808
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
986
|
-
[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", "
|
809
|
+
[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", "129"], ["created_at", "2015-11-08 15:08:44.073417"], ["updated_at", "2015-11-08 15:08:44.073417"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
987
810
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
988
811
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
989
|
-
[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", "
|
812
|
+
[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", "130"], ["created_at", "2015-11-08 15:08:44.075467"], ["updated_at", "2015-11-08 15:08:44.075467"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
990
813
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
991
814
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
992
|
-
[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", "
|
815
|
+
[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", "131"], ["created_at", "2015-11-08 15:08:44.077892"], ["updated_at", "2015-11-08 15:08:44.077892"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
993
816
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
994
817
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
995
|
-
[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", "
|
818
|
+
[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", "132"], ["created_at", "2015-11-08 15:08:44.080068"], ["updated_at", "2015-11-08 15:08:44.080068"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
996
819
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
997
820
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
998
|
-
[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", "
|
821
|
+
[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", "133"], ["created_at", "2015-11-08 15:08:44.082150"], ["updated_at", "2015-11-08 15:08:44.082150"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
999
822
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1000
823
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1001
|
-
[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", "
|
824
|
+
[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", "134"], ["created_at", "2015-11-08 15:08:44.084293"], ["updated_at", "2015-11-08 15:08:44.084293"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1002
825
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1003
826
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1004
|
-
[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", "
|
827
|
+
[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", "135"], ["created_at", "2015-11-08 15:08:44.086318"], ["updated_at", "2015-11-08 15:08:44.086318"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1005
828
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1006
829
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1007
|
-
[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", "
|
830
|
+
[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", "136"], ["created_at", "2015-11-08 15:08:44.088317"], ["updated_at", "2015-11-08 15:08:44.088317"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1008
831
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1009
832
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1010
|
-
[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", "
|
833
|
+
[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", "137"], ["created_at", "2015-11-08 15:08:44.090439"], ["updated_at", "2015-11-08 15:08:44.090439"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1011
834
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1012
835
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1013
|
-
[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", "
|
836
|
+
[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", "138"], ["created_at", "2015-11-08 15:08:44.092563"], ["updated_at", "2015-11-08 15:08:44.092563"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1014
837
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1015
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "141"], ["created_at", "2015-11-02 20:28:05.423550"], ["updated_at", "2015-11-02 20:28:05.423550"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1017
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1018
838
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1019
839
|
Parameters: {"filter"=>"file", "page"=>2}
|
1020
|
-
[1m[
|
1021
|
-
[1m[
|
1022
|
-
Completed 200 OK in
|
1023
|
-
[1m[
|
1024
|
-
[1m[
|
1025
|
-
[1m[
|
840
|
+
[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
|
841
|
+
[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
|
842
|
+
Completed 200 OK in 120ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
843
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
844
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
845
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1026
846
|
--------------------------------------------------------------------------------------
|
1027
847
|
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0001_anonymous
|
1028
848
|
--------------------------------------------------------------------------------------
|
1029
|
-
[1m[
|
1030
|
-
[1m[
|
1031
|
-
[1m[
|
1032
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1033
|
-
[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", "142"], ["created_at", "2015-11-02 20:28:05.547652"], ["updated_at", "2015-11-02 20:28:05.547652"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1034
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
849
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
850
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
851
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1035
852
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1036
|
-
[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", "
|
853
|
+
[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", "139"], ["created_at", "2015-11-08 15:08:44.217566"], ["updated_at", "2015-11-08 15:08:44.217566"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1037
854
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1038
855
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1039
|
-
[1m[35mSQL (0.
|
856
|
+
[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", "140"], ["created_at", "2015-11-08 15:08:44.220567"], ["updated_at", "2015-11-08 15:08:44.220567"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1040
857
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1041
858
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1042
|
-
[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", "
|
859
|
+
[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", "141"], ["created_at", "2015-11-08 15:08:44.222958"], ["updated_at", "2015-11-08 15:08:44.222958"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1043
860
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1044
861
|
[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", "
|
862
|
+
[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", "142"], ["created_at", "2015-11-08 15:08:44.225061"], ["updated_at", "2015-11-08 15:08:44.225061"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1046
863
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1047
864
|
[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", "
|
865
|
+
[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", "143"], ["created_at", "2015-11-08 15:08:44.227281"], ["updated_at", "2015-11-08 15:08:44.227281"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1049
866
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1050
867
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1051
|
-
[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", "
|
868
|
+
[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", "144"], ["created_at", "2015-11-08 15:08:44.229460"], ["updated_at", "2015-11-08 15:08:44.229460"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1052
869
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1053
870
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1054
|
-
[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", "
|
871
|
+
[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", "145"], ["created_at", "2015-11-08 15:08:44.231791"], ["updated_at", "2015-11-08 15:08:44.231791"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1055
872
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1056
873
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1057
|
-
[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", "
|
874
|
+
[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", "146"], ["created_at", "2015-11-08 15:08:44.234163"], ["updated_at", "2015-11-08 15:08:44.234163"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1058
875
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1059
876
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1060
|
-
[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", "
|
877
|
+
[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", "147"], ["created_at", "2015-11-08 15:08:44.236371"], ["updated_at", "2015-11-08 15:08:44.236371"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1061
878
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1062
879
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1063
|
-
[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", "
|
880
|
+
[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", "148"], ["created_at", "2015-11-08 15:08:44.238414"], ["updated_at", "2015-11-08 15:08:44.238414"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1064
881
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1065
882
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1066
|
-
[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", "
|
883
|
+
[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", "149"], ["created_at", "2015-11-08 15:08:44.240497"], ["updated_at", "2015-11-08 15:08:44.240497"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1067
884
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1068
885
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1069
|
-
[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", "
|
886
|
+
[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", "150"], ["created_at", "2015-11-08 15:08:44.242559"], ["updated_at", "2015-11-08 15:08:44.242559"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1070
887
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1071
888
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1072
|
-
[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", "
|
889
|
+
[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", "151"], ["created_at", "2015-11-08 15:08:44.244849"], ["updated_at", "2015-11-08 15:08:44.244849"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1073
890
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1074
891
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1075
|
-
[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", "
|
892
|
+
[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", "152"], ["created_at", "2015-11-08 15:08:44.247014"], ["updated_at", "2015-11-08 15:08:44.247014"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1076
893
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1077
894
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1078
|
-
[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", "
|
895
|
+
[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", "153"], ["created_at", "2015-11-08 15:08:44.249309"], ["updated_at", "2015-11-08 15:08:44.249309"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1079
896
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1080
897
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1081
|
-
[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", "
|
898
|
+
[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", "154"], ["created_at", "2015-11-08 15:08:44.251558"], ["updated_at", "2015-11-08 15:08:44.251558"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1082
899
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1083
900
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1084
|
-
[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", "
|
901
|
+
[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", "155"], ["created_at", "2015-11-08 15:08:44.253786"], ["updated_at", "2015-11-08 15:08:44.253786"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1085
902
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
903
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
904
|
+
[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", "156"], ["created_at", "2015-11-08 15:08:44.256234"], ["updated_at", "2015-11-08 15:08:44.256234"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
905
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1086
906
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1087
907
|
Parameters: {"filter"=>"file", "page"=>2}
|
1088
|
-
[1m[
|
1089
|
-
[1m[
|
908
|
+
[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
|
909
|
+
[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
|
1090
910
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1091
|
-
[1m[
|
1092
|
-
[1m[
|
1093
|
-
[1m[
|
911
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
912
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
913
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1094
914
|
--------------------------------------------------------------------------------------
|
1095
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination:
|
915
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0004_anonymous
|
1096
916
|
--------------------------------------------------------------------------------------
|
1097
|
-
[1m[
|
1098
|
-
[1m[
|
1099
|
-
[1m[
|
1100
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "160"], ["created_at", "2015-11-02 20:28:05.593637"], ["updated_at", "2015-11-02 20:28:05.593637"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1102
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
917
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
918
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
919
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1103
920
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1104
|
-
[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", "
|
921
|
+
[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", "157"], ["created_at", "2015-11-08 15:08:44.263715"], ["updated_at", "2015-11-08 15:08:44.263715"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1105
922
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1106
923
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1107
|
-
[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", "
|
924
|
+
[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", "158"], ["created_at", "2015-11-08 15:08:44.266090"], ["updated_at", "2015-11-08 15:08:44.266090"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1108
925
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1109
926
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1110
|
-
[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", "
|
1111
|
-
[1m[35m (0.
|
927
|
+
[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", "159"], ["created_at", "2015-11-08 15:08:44.268311"], ["updated_at", "2015-11-08 15:08:44.268311"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
928
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1112
929
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1113
|
-
[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", "
|
930
|
+
[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", "160"], ["created_at", "2015-11-08 15:08:44.270422"], ["updated_at", "2015-11-08 15:08:44.270422"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1114
931
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1115
932
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "
|
933
|
+
[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", "161"], ["created_at", "2015-11-08 15:08:44.272474"], ["updated_at", "2015-11-08 15:08:44.272474"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1117
934
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1118
935
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1119
|
-
[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", "
|
936
|
+
[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", "162"], ["created_at", "2015-11-08 15:08:44.274735"], ["updated_at", "2015-11-08 15:08:44.274735"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1120
937
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1121
938
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1122
|
-
[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", "
|
939
|
+
[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", "163"], ["created_at", "2015-11-08 15:08:44.276991"], ["updated_at", "2015-11-08 15:08:44.276991"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1123
940
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1124
941
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1125
|
-
[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", "
|
942
|
+
[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", "164"], ["created_at", "2015-11-08 15:08:44.279220"], ["updated_at", "2015-11-08 15:08:44.279220"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1126
943
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1127
944
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1128
|
-
[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", "
|
945
|
+
[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", "165"], ["created_at", "2015-11-08 15:08:44.281444"], ["updated_at", "2015-11-08 15:08:44.281444"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1129
946
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1130
947
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1131
|
-
[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", "
|
948
|
+
[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", "166"], ["created_at", "2015-11-08 15:08:44.283569"], ["updated_at", "2015-11-08 15:08:44.283569"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1132
949
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1133
950
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1134
|
-
[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", "
|
951
|
+
[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", "167"], ["created_at", "2015-11-08 15:08:44.285745"], ["updated_at", "2015-11-08 15:08:44.285745"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1135
952
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1136
953
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1137
|
-
[1m[35mSQL (0.
|
954
|
+
[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", "168"], ["created_at", "2015-11-08 15:08:44.358155"], ["updated_at", "2015-11-08 15:08:44.358155"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1138
955
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1139
956
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1140
|
-
[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", "
|
957
|
+
[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", "169"], ["created_at", "2015-11-08 15:08:44.360910"], ["updated_at", "2015-11-08 15:08:44.360910"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1141
958
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1142
959
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1143
|
-
[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", "
|
960
|
+
[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", "170"], ["created_at", "2015-11-08 15:08:44.363093"], ["updated_at", "2015-11-08 15:08:44.363093"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1144
961
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1145
962
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1146
|
-
[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", "
|
963
|
+
[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", "171"], ["created_at", "2015-11-08 15:08:44.365201"], ["updated_at", "2015-11-08 15:08:44.365201"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1147
964
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1148
965
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1149
|
-
[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", "
|
966
|
+
[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", "172"], ["created_at", "2015-11-08 15:08:44.367412"], ["updated_at", "2015-11-08 15:08:44.367412"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1150
967
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1151
968
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1152
|
-
[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", "
|
969
|
+
[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", "173"], ["created_at", "2015-11-08 15:08:44.369886"], ["updated_at", "2015-11-08 15:08:44.369886"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1153
970
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
971
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
972
|
+
[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", "174"], ["created_at", "2015-11-08 15:08:44.372336"], ["updated_at", "2015-11-08 15:08:44.372336"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
973
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1154
974
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1155
975
|
Parameters: {"filter"=>"file", "page"=>2}
|
1156
|
-
[1m[
|
1157
|
-
[1m[
|
976
|
+
[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
|
977
|
+
[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
|
1158
978
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1159
|
-
[1m[
|
1160
|
-
[1m[
|
1161
|
-
[1m[
|
979
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
980
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
981
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1162
982
|
--------------------------------------------------------------------------------------
|
1163
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination:
|
983
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0002_anonymous
|
1164
984
|
--------------------------------------------------------------------------------------
|
1165
|
-
[1m[
|
1166
|
-
[1m[
|
1167
|
-
[1m[
|
1168
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1169
|
-
[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", "178"], ["created_at", "2015-11-02 20:28:05.637567"], ["updated_at", "2015-11-02 20:28:05.637567"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1170
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
985
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
986
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
987
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1171
988
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1172
|
-
[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", "
|
989
|
+
[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", "175"], ["created_at", "2015-11-08 15:08:44.380191"], ["updated_at", "2015-11-08 15:08:44.380191"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1173
990
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1174
991
|
[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", "
|
992
|
+
[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", "176"], ["created_at", "2015-11-08 15:08:44.382617"], ["updated_at", "2015-11-08 15:08:44.382617"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1176
993
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1177
994
|
[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", "
|
995
|
+
[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", "177"], ["created_at", "2015-11-08 15:08:44.384989"], ["updated_at", "2015-11-08 15:08:44.384989"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1179
996
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1180
997
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1181
|
-
[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", "
|
998
|
+
[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", "178"], ["created_at", "2015-11-08 15:08:44.387098"], ["updated_at", "2015-11-08 15:08:44.387098"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1182
999
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1183
1000
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1184
|
-
[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", "
|
1001
|
+
[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", "179"], ["created_at", "2015-11-08 15:08:44.389236"], ["updated_at", "2015-11-08 15:08:44.389236"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1185
1002
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1186
1003
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1187
|
-
[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", "
|
1004
|
+
[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", "180"], ["created_at", "2015-11-08 15:08:44.391353"], ["updated_at", "2015-11-08 15:08:44.391353"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1188
1005
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1189
1006
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1190
|
-
[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", "
|
1007
|
+
[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", "181"], ["created_at", "2015-11-08 15:08:44.393540"], ["updated_at", "2015-11-08 15:08:44.393540"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1191
1008
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1192
1009
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1193
|
-
[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", "
|
1010
|
+
[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", "182"], ["created_at", "2015-11-08 15:08:44.395601"], ["updated_at", "2015-11-08 15:08:44.395601"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1194
1011
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1195
1012
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1196
|
-
[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", "
|
1013
|
+
[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", "183"], ["created_at", "2015-11-08 15:08:44.397532"], ["updated_at", "2015-11-08 15:08:44.397532"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1197
1014
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1198
1015
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1199
|
-
[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", "
|
1016
|
+
[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", "184"], ["created_at", "2015-11-08 15:08:44.399574"], ["updated_at", "2015-11-08 15:08:44.399574"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1200
1017
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1201
1018
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1202
|
-
[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", "
|
1019
|
+
[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", "185"], ["created_at", "2015-11-08 15:08:44.401633"], ["updated_at", "2015-11-08 15:08:44.401633"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1203
1020
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1204
1021
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1205
|
-
[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", "
|
1022
|
+
[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", "186"], ["created_at", "2015-11-08 15:08:44.403557"], ["updated_at", "2015-11-08 15:08:44.403557"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1206
1023
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1207
1024
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1208
|
-
[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", "
|
1025
|
+
[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", "187"], ["created_at", "2015-11-08 15:08:44.405533"], ["updated_at", "2015-11-08 15:08:44.405533"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1209
1026
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1210
1027
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1211
|
-
[1m[35mSQL (0.
|
1028
|
+
[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", "188"], ["created_at", "2015-11-08 15:08:44.407598"], ["updated_at", "2015-11-08 15:08:44.407598"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1212
1029
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1213
1030
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1214
|
-
[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", "
|
1031
|
+
[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", "189"], ["created_at", "2015-11-08 15:08:44.409508"], ["updated_at", "2015-11-08 15:08:44.409508"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1215
1032
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1216
1033
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1034
|
+
[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", "190"], ["created_at", "2015-11-08 15:08:44.411457"], ["updated_at", "2015-11-08 15:08:44.411457"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1218
1035
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1219
1036
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1037
|
+
[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", "191"], ["created_at", "2015-11-08 15:08:44.413612"], ["updated_at", "2015-11-08 15:08:44.413612"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1221
1038
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1039
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1040
|
+
[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", "192"], ["created_at", "2015-11-08 15:08:44.415931"], ["updated_at", "2015-11-08 15:08:44.415931"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1041
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1222
1042
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1223
1043
|
Parameters: {"filter"=>"file", "page"=>2}
|
1224
|
-
[1m[
|
1225
|
-
[1m[
|
1226
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.
|
1044
|
+
[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
|
1045
|
+
[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
|
1046
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
1047
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1048
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1049
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1050
|
+
-----------------------------------------------
|
1051
|
+
PushType::WysiwygFieldTest: test_0001_anonymous
|
1052
|
+
-----------------------------------------------
|
1053
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1054
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1055
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1056
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1057
|
+
[1m[36mPushType::Node Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-1' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
1058
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-1"], ["status", 0], ["created_at", "2015-11-08 15:08:44.440940"], ["updated_at", "2015-11-08 15:08:44.440940"]]
|
1059
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t4f4fc748341a3fe183b4bed424ec3393[0m
|
1060
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "ab21a45a-6138-487c-82c5-4478812d9408"], ["descendant_id", "ab21a45a-6138-487c-82c5-4478812d9408"], ["generations", 0]]
|
1061
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "push_type_nodes"
|
1062
|
+
SET "sort_order" = t.seq + -1
|
1063
|
+
FROM (
|
1064
|
+
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
1065
|
+
FROM "push_type_nodes"
|
1066
|
+
WHERE "parent_id" IS NULL
|
1067
|
+
) AS t
|
1068
|
+
WHERE "push_type_nodes"."id" = t.id
|
1069
|
+
[0m
|
1070
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "ab21a45a-6138-487c-82c5-4478812d9408"]]
|
1071
|
+
[1m[36mPushType::Node Load (0.2ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "ab21a45a-6138-487c-82c5-4478812d9408"]]
|
1072
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t2529971faebe5f46d34fab17a7f77df5
|
1073
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1074
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1075
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1076
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1077
|
+
-----------------------------------------------
|
1078
|
+
PushType::WysiwygFieldTest: test_0003_anonymous
|
1079
|
+
-----------------------------------------------
|
1080
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1081
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1082
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1083
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1084
|
+
[1m[36mPushType::Node Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-2' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
1085
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-2"], ["status", 0], ["created_at", "2015-11-08 15:08:44.462615"], ["updated_at", "2015-11-08 15:08:44.462615"]]
|
1086
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t4c3c97d354825da15a5f422a02d44bcc[0m
|
1087
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "ac495665-0621-4818-86e1-b4e124aed72f"], ["descendant_id", "ac495665-0621-4818-86e1-b4e124aed72f"], ["generations", 0]]
|
1088
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "push_type_nodes"
|
1089
|
+
SET "sort_order" = t.seq + -1
|
1090
|
+
FROM (
|
1091
|
+
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
1092
|
+
FROM "push_type_nodes"
|
1093
|
+
WHERE "parent_id" IS NULL
|
1094
|
+
) AS t
|
1095
|
+
WHERE "push_type_nodes"."id" = t.id
|
1096
|
+
[0m
|
1097
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.2ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "ac495665-0621-4818-86e1-b4e124aed72f"]]
|
1098
|
+
[1m[36mPushType::Node Load (0.3ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "ac495665-0621-4818-86e1-b4e124aed72f"]]
|
1099
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t80e5f02b58e77b1e6ae0b0409cdf35af
|
1100
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1101
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1102
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1103
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1104
|
+
-----------------------------------------------
|
1105
|
+
PushType::WysiwygFieldTest: test_0005_anonymous
|
1106
|
+
-----------------------------------------------
|
1107
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1108
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1109
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1110
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1111
|
+
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-3' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
1112
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-3"], ["status", 0], ["created_at", "2015-11-08 15:08:44.470726"], ["updated_at", "2015-11-08 15:08:44.470726"]]
|
1113
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS tf36f01d51f12b9c5d7bd6f61feefbb61[0m
|
1114
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "1e2e2739-da81-4208-9a51-5cebc9a932a5"], ["descendant_id", "1e2e2739-da81-4208-9a51-5cebc9a932a5"], ["generations", 0]]
|
1115
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "push_type_nodes"
|
1116
|
+
SET "sort_order" = t.seq + -1
|
1117
|
+
FROM (
|
1118
|
+
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
1119
|
+
FROM "push_type_nodes"
|
1120
|
+
WHERE "parent_id" IS NULL
|
1121
|
+
) AS t
|
1122
|
+
WHERE "push_type_nodes"."id" = t.id
|
1123
|
+
[0m
|
1124
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "1e2e2739-da81-4208-9a51-5cebc9a932a5"]]
|
1125
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "1e2e2739-da81-4208-9a51-5cebc9a932a5"]]
|
1126
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS tb72c84459f2736625556ad2eb90433a1
|
1127
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1128
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1129
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1130
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1131
|
+
-----------------------------------------------
|
1132
|
+
PushType::WysiwygFieldTest: test_0004_anonymous
|
1133
|
+
-----------------------------------------------
|
1134
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1136
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1137
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1138
|
+
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-4' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
1139
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-4"], ["status", 0], ["created_at", "2015-11-08 15:08:44.478049"], ["updated_at", "2015-11-08 15:08:44.478049"]]
|
1140
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t03fb6d0df26a2b3ab54f1997eb56817f[0m
|
1141
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "23523a56-4078-4e1a-9dea-68390229f9c3"], ["descendant_id", "23523a56-4078-4e1a-9dea-68390229f9c3"], ["generations", 0]]
|
1142
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
1143
|
+
SET "sort_order" = t.seq + -1
|
1144
|
+
FROM (
|
1145
|
+
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
1146
|
+
FROM "push_type_nodes"
|
1147
|
+
WHERE "parent_id" IS NULL
|
1148
|
+
) AS t
|
1149
|
+
WHERE "push_type_nodes"."id" = t.id
|
1150
|
+
[0m
|
1151
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "23523a56-4078-4e1a-9dea-68390229f9c3"]]
|
1152
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "23523a56-4078-4e1a-9dea-68390229f9c3"]]
|
1153
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t2e91fa3c1b65d06ea57f894c2fb93849
|
1154
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1155
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1156
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1157
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1158
|
+
-----------------------------------------------
|
1159
|
+
PushType::WysiwygFieldTest: test_0002_anonymous
|
1160
|
+
-----------------------------------------------
|
1161
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1162
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1163
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1164
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1165
|
+
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-5' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
1166
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-5"], ["status", 0], ["created_at", "2015-11-08 15:08:44.485298"], ["updated_at", "2015-11-08 15:08:44.485298"]]
|
1167
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t70c664b8ba07a35a82523f778f4fd2b9[0m
|
1168
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "3bacab20-b28b-4967-9936-164e80e82e2e"], ["descendant_id", "3bacab20-b28b-4967-9936-164e80e82e2e"], ["generations", 0]]
|
1169
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
1170
|
+
SET "sort_order" = t.seq + -1
|
1171
|
+
FROM (
|
1172
|
+
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
1173
|
+
FROM "push_type_nodes"
|
1174
|
+
WHERE "parent_id" IS NULL
|
1175
|
+
) AS t
|
1176
|
+
WHERE "push_type_nodes"."id" = t.id
|
1177
|
+
[0m
|
1178
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "3bacab20-b28b-4967-9936-164e80e82e2e"]]
|
1179
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "3bacab20-b28b-4967-9936-164e80e82e2e"]]
|
1180
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS td81ee097164031a283a56d67e51cba34
|
1181
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1182
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1183
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1184
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1185
|
+
-----------------------------------------------------------------------------------------
|
1186
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0001_anonymous
|
1187
|
+
-----------------------------------------------------------------------------------------
|
1188
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1189
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1190
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1191
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1192
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fb3f964dfe8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151108-11009-nx42q2>>}}
|
1193
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1194
|
+
[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", "193"], ["created_at", "2015-11-08 15:08:44.495321"], ["updated_at", "2015-11-08 15:08:44.495321"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1195
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1196
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1197
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1198
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1199
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1200
|
+
-----------------------------------------------------------------------------------------
|
1201
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0002_anonymous
|
1202
|
+
-----------------------------------------------------------------------------------------
|
1203
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1204
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1205
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1206
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1207
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fb3fb9f1c38 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151108-11009-1w6kfct>>}}
|
1208
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1209
|
+
[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", "194"], ["created_at", "2015-11-08 15:08:44.501112"], ["updated_at", "2015-11-08 15:08:44.501112"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1210
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1211
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1212
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1213
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1214
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1215
|
+
-----------------------------------------------------------------------------------------
|
1216
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0003_anonymous
|
1217
|
+
-----------------------------------------------------------------------------------------
|
1218
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1219
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1220
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1221
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1222
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fb3fba39678 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151108-11009-xj08bg>>}}
|
1223
|
+
[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", "195"], ["created_at", "2015-11-08 15:08:44.506885"], ["updated_at", "2015-11-08 15:08:44.506885"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1225
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1226
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1227
1227
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1228
1228
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1229
1229
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1230
1230
|
------------------------------------------------------------------------------------------
|
1231
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for files:
|
1231
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0001_anonymous
|
1232
1232
|
------------------------------------------------------------------------------------------
|
1233
|
-
[1m[35m (0.
|
1233
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1234
1234
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1235
1235
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1236
1236
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1237
|
-
[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", "196"], ["created_at", "2015-11-
|
1237
|
+
[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", "196"], ["created_at", "2015-11-08 15:08:44.511475"], ["updated_at", "2015-11-08 15:08:44.511475"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1238
1238
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1239
1239
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1240
|
-
[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", "197"], ["created_at", "2015-11-
|
1240
|
+
[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", "197"], ["created_at", "2015-11-08 15:08:44.513583"], ["updated_at", "2015-11-08 15:08:44.513583"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1241
1241
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1242
1242
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1243
|
-
[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", "198"], ["created_at", "2015-11-
|
1243
|
+
[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", "198"], ["created_at", "2015-11-08 15:08:44.515738"], ["updated_at", "2015-11-08 15:08:44.515738"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1244
1244
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1245
1245
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1246
|
-
[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", "199"], ["created_at", "2015-11-
|
1246
|
+
[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", "199"], ["created_at", "2015-11-08 15:08:44.517768"], ["updated_at", "2015-11-08 15:08:44.517768"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1247
1247
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1248
1248
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1249
|
-
[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", "200"], ["created_at", "2015-11-
|
1249
|
+
[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", "200"], ["created_at", "2015-11-08 15:08:44.519751"], ["updated_at", "2015-11-08 15:08:44.519751"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1250
1250
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1251
1251
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1252
|
-
[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", "201"], ["created_at", "2015-11-
|
1252
|
+
[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", "201"], ["created_at", "2015-11-08 15:08:44.521746"], ["updated_at", "2015-11-08 15:08:44.521746"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1253
1253
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1254
1254
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1255
|
-
[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", "202"], ["created_at", "2015-11-
|
1255
|
+
[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", "202"], ["created_at", "2015-11-08 15:08:44.523809"], ["updated_at", "2015-11-08 15:08:44.523809"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1256
1256
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1257
1257
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1258
|
-
[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", "203"], ["created_at", "2015-11-
|
1258
|
+
[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", "203"], ["created_at", "2015-11-08 15:08:44.525827"], ["updated_at", "2015-11-08 15:08:44.525827"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1259
1259
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1260
1260
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1261
|
-
[1m[35mSQL (0.
|
1261
|
+
[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", "204"], ["created_at", "2015-11-08 15:08:44.564804"], ["updated_at", "2015-11-08 15:08:44.564804"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1262
1262
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1263
1263
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "205"], ["created_at", "2015-11-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "205"], ["created_at", "2015-11-08 15:08:44.567180"], ["updated_at", "2015-11-08 15:08:44.567180"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1265
1265
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1266
1266
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "206"], ["created_at", "2015-11-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "206"], ["created_at", "2015-11-08 15:08:44.569450"], ["updated_at", "2015-11-08 15:08:44.569450"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1268
1268
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1269
1269
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "207"], ["created_at", "2015-11-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "207"], ["created_at", "2015-11-08 15:08:44.571523"], ["updated_at", "2015-11-08 15:08:44.571523"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1271
1271
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1272
1272
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "208"], ["created_at", "2015-11-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "208"], ["created_at", "2015-11-08 15:08:44.574168"], ["updated_at", "2015-11-08 15:08:44.574168"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1274
1274
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1275
1275
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1276
|
-
[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", "209"], ["created_at", "2015-11-
|
1276
|
+
[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", "209"], ["created_at", "2015-11-08 15:08:44.576535"], ["updated_at", "2015-11-08 15:08:44.576535"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1277
1277
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1278
1278
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "210"], ["created_at", "2015-11-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "210"], ["created_at", "2015-11-08 15:08:44.578675"], ["updated_at", "2015-11-08 15:08:44.578675"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1280
1280
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1281
1281
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "211"], ["created_at", "2015-11-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "211"], ["created_at", "2015-11-08 15:08:44.580739"], ["updated_at", "2015-11-08 15:08:44.580739"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1283
1283
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1284
1284
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "212"], ["created_at", "2015-11-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "212"], ["created_at", "2015-11-08 15:08:44.583007"], ["updated_at", "2015-11-08 15:08:44.583007"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1286
1286
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1287
1287
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "213"], ["created_at", "2015-11-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "213"], ["created_at", "2015-11-08 15:08:44.585434"], ["updated_at", "2015-11-08 15:08:44.585434"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1289
1289
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1290
1290
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1291
1291
|
Parameters: {"filter"=>"file"}
|
1292
1292
|
[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 NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
1293
1293
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1294
|
-
Completed 200 OK in
|
1294
|
+
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
1295
1295
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1296
1296
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1297
1297
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1298
1298
|
------------------------------------------------------------------------------------------
|
1299
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for files:
|
1299
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0004_anonymous
|
1300
1300
|
------------------------------------------------------------------------------------------
|
1301
|
-
[1m[35m (0.
|
1302
|
-
[1m[36m (0.
|
1301
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1302
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1303
1303
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1304
1304
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1305
|
-
[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", "214"], ["created_at", "2015-11-
|
1305
|
+
[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", "214"], ["created_at", "2015-11-08 15:08:44.602186"], ["updated_at", "2015-11-08 15:08:44.602186"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1306
1306
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1307
1307
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1308
|
-
[1m[36mSQL (0.
|
1308
|
+
[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", "215"], ["created_at", "2015-11-08 15:08:44.604369"], ["updated_at", "2015-11-08 15:08:44.604369"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1309
1309
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1310
1310
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1311
|
-
[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", "216"], ["created_at", "2015-11-
|
1311
|
+
[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", "216"], ["created_at", "2015-11-08 15:08:44.606342"], ["updated_at", "2015-11-08 15:08:44.606342"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1312
1312
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1313
1313
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1314
|
-
[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", "217"], ["created_at", "2015-11-
|
1314
|
+
[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", "217"], ["created_at", "2015-11-08 15:08:44.608391"], ["updated_at", "2015-11-08 15:08:44.608391"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1315
1315
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1316
1316
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1317
|
-
[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", "218"], ["created_at", "2015-11-
|
1317
|
+
[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", "218"], ["created_at", "2015-11-08 15:08:44.610466"], ["updated_at", "2015-11-08 15:08:44.610466"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1318
1318
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1319
1319
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1320
|
-
[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", "219"], ["created_at", "2015-11-
|
1320
|
+
[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", "219"], ["created_at", "2015-11-08 15:08:44.612776"], ["updated_at", "2015-11-08 15:08:44.612776"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1321
1321
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1322
1322
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "220"], ["created_at", "2015-11-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "220"], ["created_at", "2015-11-08 15:08:44.615085"], ["updated_at", "2015-11-08 15:08:44.615085"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1324
1324
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1325
1325
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1326
|
-
[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", "221"], ["created_at", "2015-11-
|
1326
|
+
[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", "221"], ["created_at", "2015-11-08 15:08:44.617211"], ["updated_at", "2015-11-08 15:08:44.617211"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1327
1327
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1328
1328
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1329
|
-
[1m[35mSQL (0.
|
1329
|
+
[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", "222"], ["created_at", "2015-11-08 15:08:44.619305"], ["updated_at", "2015-11-08 15:08:44.619305"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1330
1330
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1331
1331
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1332
|
-
[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", "223"], ["created_at", "2015-11-
|
1332
|
+
[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", "223"], ["created_at", "2015-11-08 15:08:44.621557"], ["updated_at", "2015-11-08 15:08:44.621557"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1333
1333
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1334
1334
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1335
|
-
[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", "224"], ["created_at", "2015-11-
|
1335
|
+
[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", "224"], ["created_at", "2015-11-08 15:08:44.623597"], ["updated_at", "2015-11-08 15:08:44.623597"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1336
1336
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1337
1337
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1338
|
-
[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", "225"], ["created_at", "2015-11-
|
1338
|
+
[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", "225"], ["created_at", "2015-11-08 15:08:44.625766"], ["updated_at", "2015-11-08 15:08:44.625766"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1339
1339
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1340
1340
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1341
|
-
[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", "226"], ["created_at", "2015-11-
|
1341
|
+
[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", "226"], ["created_at", "2015-11-08 15:08:44.628263"], ["updated_at", "2015-11-08 15:08:44.628263"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1342
1342
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1343
1343
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1344
|
-
[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", "227"], ["created_at", "2015-11-
|
1344
|
+
[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", "227"], ["created_at", "2015-11-08 15:08:44.630469"], ["updated_at", "2015-11-08 15:08:44.630469"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1345
1345
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1346
1346
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1347
|
-
[1m[35mSQL (0.
|
1347
|
+
[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", "228"], ["created_at", "2015-11-08 15:08:44.632889"], ["updated_at", "2015-11-08 15:08:44.632889"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1348
1348
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1349
1349
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1350
|
-
[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", "229"], ["created_at", "2015-11-
|
1351
|
-
[1m[35m (0.
|
1350
|
+
[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", "229"], ["created_at", "2015-11-08 15:08:44.635665"], ["updated_at", "2015-11-08 15:08:44.635665"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1351
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1352
1352
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1353
|
-
[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", "230"], ["created_at", "2015-11-
|
1353
|
+
[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", "230"], ["created_at", "2015-11-08 15:08:44.638178"], ["updated_at", "2015-11-08 15:08:44.638178"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1354
1354
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1355
1355
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1356
|
-
[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", "231"], ["created_at", "2015-11-
|
1356
|
+
[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", "231"], ["created_at", "2015-11-08 15:08:44.640715"], ["updated_at", "2015-11-08 15:08:44.640715"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1357
1357
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1358
1358
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1359
1359
|
Parameters: {"filter"=>"file"}
|
1360
1360
|
[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 NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
1361
1361
|
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1362
|
-
Completed 200 OK in
|
1362
|
+
Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
1363
1363
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1364
1364
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1365
1365
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1366
1366
|
------------------------------------------------------------------------------------------
|
1367
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for files:
|
1367
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0002_anonymous
|
1368
1368
|
------------------------------------------------------------------------------------------
|
1369
|
-
[1m[35m (0.
|
1369
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1370
1370
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1371
1371
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1372
1372
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1373
|
-
[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-11-
|
1373
|
+
[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-11-08 15:08:44.657165"], ["updated_at", "2015-11-08 15:08:44.657165"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1374
1374
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1375
1375
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1376
|
-
[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-11-
|
1376
|
+
[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-11-08 15:08:44.659452"], ["updated_at", "2015-11-08 15:08:44.659452"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1377
1377
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1378
1378
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1379
|
-
[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", "234"], ["created_at", "2015-11-
|
1379
|
+
[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", "234"], ["created_at", "2015-11-08 15:08:44.661461"], ["updated_at", "2015-11-08 15:08:44.661461"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1380
1380
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1381
1381
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1382
|
-
[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", "235"], ["created_at", "2015-11-
|
1382
|
+
[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", "235"], ["created_at", "2015-11-08 15:08:44.663498"], ["updated_at", "2015-11-08 15:08:44.663498"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1383
1383
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1384
1384
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1385
|
-
[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", "236"], ["created_at", "2015-11-
|
1385
|
+
[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", "236"], ["created_at", "2015-11-08 15:08:44.665520"], ["updated_at", "2015-11-08 15:08:44.665520"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1386
1386
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1387
1387
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1388
|
-
[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", "237"], ["created_at", "2015-11-
|
1388
|
+
[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", "237"], ["created_at", "2015-11-08 15:08:44.667797"], ["updated_at", "2015-11-08 15:08:44.667797"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1389
1389
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1390
1390
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1391
|
-
[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", "238"], ["created_at", "2015-11-
|
1391
|
+
[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", "238"], ["created_at", "2015-11-08 15:08:44.669947"], ["updated_at", "2015-11-08 15:08:44.669947"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1392
1392
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1393
1393
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1394
|
-
[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", "239"], ["created_at", "2015-11-
|
1394
|
+
[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", "239"], ["created_at", "2015-11-08 15:08:44.672116"], ["updated_at", "2015-11-08 15:08:44.672116"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1395
1395
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1396
1396
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1397
|
-
[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", "240"], ["created_at", "2015-11-
|
1397
|
+
[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", "240"], ["created_at", "2015-11-08 15:08:44.674179"], ["updated_at", "2015-11-08 15:08:44.674179"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1398
1398
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1399
1399
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1400
|
-
[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", "241"], ["created_at", "2015-11-
|
1400
|
+
[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", "241"], ["created_at", "2015-11-08 15:08:44.676243"], ["updated_at", "2015-11-08 15:08:44.676243"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1401
1401
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1402
1402
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1403
|
-
[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", "242"], ["created_at", "2015-11-
|
1403
|
+
[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", "242"], ["created_at", "2015-11-08 15:08:44.678420"], ["updated_at", "2015-11-08 15:08:44.678420"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1404
1404
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1405
1405
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1406
|
-
[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", "243"], ["created_at", "2015-11-
|
1406
|
+
[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", "243"], ["created_at", "2015-11-08 15:08:44.680539"], ["updated_at", "2015-11-08 15:08:44.680539"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1407
1407
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1408
1408
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1409
|
-
[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", "244"], ["created_at", "2015-11-
|
1409
|
+
[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", "244"], ["created_at", "2015-11-08 15:08:44.682593"], ["updated_at", "2015-11-08 15:08:44.682593"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1410
1410
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1411
1411
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1412
|
-
[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", "245"], ["created_at", "2015-11-
|
1412
|
+
[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", "245"], ["created_at", "2015-11-08 15:08:44.684910"], ["updated_at", "2015-11-08 15:08:44.684910"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1413
1413
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1414
1414
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1415
|
-
[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", "246"], ["created_at", "2015-11-
|
1415
|
+
[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", "246"], ["created_at", "2015-11-08 15:08:44.687129"], ["updated_at", "2015-11-08 15:08:44.687129"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1416
1416
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1417
1417
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1418
|
-
[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", "247"], ["created_at", "2015-11-
|
1418
|
+
[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", "247"], ["created_at", "2015-11-08 15:08:44.689393"], ["updated_at", "2015-11-08 15:08:44.689393"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1419
1419
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1420
1420
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1421
|
-
[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", "248"], ["created_at", "2015-11-
|
1421
|
+
[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", "248"], ["created_at", "2015-11-08 15:08:44.691765"], ["updated_at", "2015-11-08 15:08:44.691765"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1422
1422
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1423
1423
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1424
|
-
[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", "249"], ["created_at", "2015-11-
|
1424
|
+
[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", "249"], ["created_at", "2015-11-08 15:08:44.693888"], ["updated_at", "2015-11-08 15:08:44.693888"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1425
1425
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1426
1426
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1427
1427
|
Parameters: {"filter"=>"file"}
|
1428
|
-
[1m[36mPushType::Asset Load (0.
|
1429
|
-
[1m[35m (0.
|
1430
|
-
Completed 200 OK in
|
1428
|
+
[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 NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
1429
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1430
|
+
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.6ms)
|
1431
1431
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1432
1432
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1433
1433
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1434
1434
|
------------------------------------------------------------------------------------------
|
1435
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for files:
|
1435
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0003_anonymous
|
1436
1436
|
------------------------------------------------------------------------------------------
|
1437
1437
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1438
|
-
[1m[36m (0.
|
1438
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1439
1439
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1440
1440
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1441
|
-
[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-11-
|
1441
|
+
[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-11-08 15:08:44.710667"], ["updated_at", "2015-11-08 15:08:44.710667"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1442
1442
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1443
1443
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1444
|
-
[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-11-
|
1444
|
+
[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-11-08 15:08:44.713159"], ["updated_at", "2015-11-08 15:08:44.713159"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1445
1445
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1446
1446
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1447
|
-
[1m[35mSQL (0.
|
1447
|
+
[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", "252"], ["created_at", "2015-11-08 15:08:44.715308"], ["updated_at", "2015-11-08 15:08:44.715308"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1448
1448
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1449
1449
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1450
|
-
[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-11-
|
1450
|
+
[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-11-08 15:08:44.717966"], ["updated_at", "2015-11-08 15:08:44.717966"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1451
1451
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1452
1452
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1453
|
-
[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-11-
|
1453
|
+
[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-11-08 15:08:44.720190"], ["updated_at", "2015-11-08 15:08:44.720190"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1454
1454
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1455
1455
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1456
|
-
[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", "255"], ["created_at", "2015-11-
|
1456
|
+
[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", "255"], ["created_at", "2015-11-08 15:08:44.722518"], ["updated_at", "2015-11-08 15:08:44.722518"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1457
1457
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1458
1458
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1459
|
-
[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", "256"], ["created_at", "2015-11-
|
1459
|
+
[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", "256"], ["created_at", "2015-11-08 15:08:44.724734"], ["updated_at", "2015-11-08 15:08:44.724734"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1460
1460
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1461
1461
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1462
|
-
[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", "257"], ["created_at", "2015-11-
|
1462
|
+
[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", "257"], ["created_at", "2015-11-08 15:08:44.726926"], ["updated_at", "2015-11-08 15:08:44.726926"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1463
1463
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1464
1464
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1465
|
-
[1m[35mSQL (0.
|
1465
|
+
[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", "258"], ["created_at", "2015-11-08 15:08:44.729213"], ["updated_at", "2015-11-08 15:08:44.729213"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1466
1466
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1467
1467
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1468
|
-
[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", "259"], ["created_at", "2015-11-
|
1468
|
+
[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", "259"], ["created_at", "2015-11-08 15:08:44.731893"], ["updated_at", "2015-11-08 15:08:44.731893"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1469
1469
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1470
1470
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1471
|
-
[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", "260"], ["created_at", "2015-11-
|
1471
|
+
[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", "260"], ["created_at", "2015-11-08 15:08:44.734241"], ["updated_at", "2015-11-08 15:08:44.734241"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1472
1472
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1473
1473
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1474
|
-
[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", "261"], ["created_at", "2015-11-
|
1474
|
+
[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", "261"], ["created_at", "2015-11-08 15:08:44.736405"], ["updated_at", "2015-11-08 15:08:44.736405"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1475
1475
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1476
1476
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1477
|
-
[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", "262"], ["created_at", "2015-11-
|
1477
|
+
[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", "262"], ["created_at", "2015-11-08 15:08:44.738671"], ["updated_at", "2015-11-08 15:08:44.738671"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1478
1478
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1479
1479
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1480
|
-
[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", "263"], ["created_at", "2015-11-
|
1480
|
+
[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", "263"], ["created_at", "2015-11-08 15:08:44.741028"], ["updated_at", "2015-11-08 15:08:44.741028"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1481
1481
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1482
1482
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1483
|
-
[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", "264"], ["created_at", "2015-11-
|
1484
|
-
[1m[36m (0.
|
1483
|
+
[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", "264"], ["created_at", "2015-11-08 15:08:44.743597"], ["updated_at", "2015-11-08 15:08:44.743597"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1484
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1485
1485
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1486
|
-
[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", "265"], ["created_at", "2015-11-
|
1486
|
+
[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", "265"], ["created_at", "2015-11-08 15:08:44.746033"], ["updated_at", "2015-11-08 15:08:44.746033"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1487
1487
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1488
1488
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1489
|
-
[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", "266"], ["created_at", "2015-11-
|
1489
|
+
[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", "266"], ["created_at", "2015-11-08 15:08:44.748232"], ["updated_at", "2015-11-08 15:08:44.748232"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1490
1490
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1491
1491
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1492
|
-
[1m[36mSQL (0.
|
1492
|
+
[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", "267"], ["created_at", "2015-11-08 15:08:44.750659"], ["updated_at", "2015-11-08 15:08:44.750659"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1493
1493
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1494
1494
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1495
1495
|
Parameters: {"filter"=>"file"}
|
1496
1496
|
[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 NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
1497
|
-
[1m[35m (
|
1498
|
-
Completed 200 OK in
|
1497
|
+
[1m[35m (16.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1498
|
+
Completed 200 OK in 28ms (Views: 1.0ms | ActiveRecord: 16.5ms)
|
1499
1499
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1500
1500
|
[1m[35m (0.1ms)[0m ROLLBACK
|