push_type_wysiwyg 0.6.0.beta.2 → 0.6.0.beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/test/dummy/app/models/location.rb +6 -0
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20151102165919_create_push_type_users.push_type.rb → 20151102202759_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165920_create_push_type_nodes.push_type.rb → 20151102202760_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165921_create_push_type_node_hierarchies.push_type.rb → 20151102202761_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165922_create_push_type_assets.push_type.rb → 20151102202762_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165923_create_push_type_taxonomies.push_type.rb → 20151102202763_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165924_create_push_type_taxonomy_hierarchies.push_type.rb → 20151102202764_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165925_add_field_store_default_values.push_type.rb → 20151102202765_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +773 -773
- metadata +21 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61e7563eb19301a540676596a9b08aa88ef2aeee
|
4
|
+
data.tar.gz: caa56a48dff88a7a5710d87619d96d78cb243d86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9162854783fffc081116293b5d85f40900d7e6972dfd6d4e327ec3aca0fa09a1b11c8298fed5c7ef0d13a1b0d45e10c6e8a2996730cc6119c89b13636485eaf5
|
7
|
+
data.tar.gz: de89f1f966abe7365ad580e77222c695f0d33562aca1821738327835fb1ef1222083da1f71df5a44bfc57c7eda8cde7f16b367ceb9ed6d54f2901bb8874f5b6d
|
@@ -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 = 'b96e70349a312515315c8397f533c5c8f64baa4c6ce1fff9ad7f022b92250e4a'
|
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: 60ca5ae2a3abc542cf44f657dc3f9a5311ae4e46ae93f4d1017fc109ebfc780cc31d84ad38763f9dbc898cbdb4cf2fc3d72a5778caa1603651d41b156d7dd573
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
17
|
+
secret_key_base: 31f78d92cca4abf9ee1e3e6a262c82c3758b7168b92228ff9faea7779d48892b09a57fcf68e3c4990103cc0771f60d16ca714ce32fbffc97065d8bf2251cef0a
|
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: 20151102202765) 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,43 +1,43 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (7.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
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 (20151102202759)
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
6
|
-
[1m[36mSQL (
|
7
|
-
[1m[35m (2.
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
9
|
-
[1m[35m (0.
|
10
|
-
Migrating to CreatePushTypeNodes (
|
6
|
+
[1m[36mSQL (1.8ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
+
[1m[35m (2.5ms)[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", "20151102202759"]]
|
9
|
+
[1m[35m (0.6ms)[0m COMMIT
|
10
|
+
Migrating to CreatePushTypeNodes (20151102202760)
|
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.3ms)[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", "20151102202760"]]
|
14
|
+
[1m[35m (0.4ms)[0m COMMIT
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20151102202761)
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17
|
-
[1m[35m (0.
|
18
|
-
[1m[36m (0.
|
17
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
18
|
+
[1m[36m (0.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", "
|
21
|
-
[1m[35m (0.
|
22
|
-
Migrating to CreatePushTypeAssets (
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20151102202761"]]
|
21
|
+
[1m[35m (0.4ms)[0m COMMIT
|
22
|
+
Migrating to CreatePushTypeAssets (20151102202762)
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
24
|
-
[1m[35m (
|
25
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
24
|
+
[1m[35m (2.1ms)[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", "20151102202762"]]
|
26
26
|
[1m[35m (0.5ms)[0m COMMIT
|
27
|
-
Migrating to CreatePushTypeTaxonomies (
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20151102202763)
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29
|
-
[1m[35m (
|
29
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
30
30
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_assets" ADD "tags" character varying[][0m
|
31
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
32
|
-
[1m[36m (0.
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202763"]]
|
32
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20151102202764)
|
34
34
|
[1m[35m (0.1ms)[0m BEGIN
|
35
|
-
[1m[36m (0.
|
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
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.
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
39
|
-
[1m[36m (0.
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
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"]]
|
39
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20151102202765)
|
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 '{}'
|
@@ -46,11 +46,11 @@ Migrating to AddFieldStoreDefaultValues (20151102165925)
|
|
46
46
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
47
47
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
48
48
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
49
|
-
[1m[35m (0.
|
50
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
51
|
-
[1m[35m (0.
|
49
|
+
[1m[35m (0.1ms)[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", "20151102202765"]]
|
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 (2.1ms)[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.4ms)[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
|
@@ -74,7 +74,7 @@ WHERE c.contype = 'f'
|
|
74
74
|
AND t3.nspname = ANY (current_schemas(false))
|
75
75
|
ORDER BY c.conname
|
76
76
|
[0m
|
77
|
-
[1m[35m (1.
|
77
|
+
[1m[35m (1.2ms)[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
|
78
78
|
FROM pg_constraint c
|
79
79
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
80
80
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -98,7 +98,7 @@ WHERE c.contype = 'f'
|
|
98
98
|
AND t3.nspname = ANY (current_schemas(false))
|
99
99
|
ORDER BY c.conname
|
100
100
|
[0m
|
101
|
-
[1m[35m (1.
|
101
|
+
[1m[35m (1.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
102
102
|
FROM pg_constraint c
|
103
103
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
104
104
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -122,210 +122,325 @@ 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.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
126
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL
|
127
|
+
[1m[36m (1.0ms)[0m [1m SELECT schemaname || '.' || tablename
|
128
128
|
FROM pg_tables
|
129
129
|
WHERE
|
130
130
|
tablename !~ '_prt_' AND
|
131
131
|
tablename <> 'schema_migrations' AND
|
132
132
|
schemaname = ANY (current_schemas(false))
|
133
133
|
[0m
|
134
|
-
[1m[35m (
|
135
|
-
[1m[36m (
|
134
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
135
|
+
[1m[36m (11.8ms)[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
|
-
[1m[36m (0.
|
138
|
-
|
139
|
-
PushType::WysiwygMediaHelperTest::#
|
140
|
-
|
137
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138
|
+
--------------------------------------------------------------------------
|
139
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0004_anonymous
|
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.0ms)[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-02
|
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-02 20:28:04.903332"], ["updated_at", "2015-11-02 20:28:04.903332"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
146
146
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
147
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
148
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
149
|
+
[1m[35m (0.1ms)[0m BEGIN
|
150
|
+
--------------------------------------------------------------------------
|
151
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0001_anonymous
|
152
|
+
--------------------------------------------------------------------------
|
153
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
154
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
155
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
147
156
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
148
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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-02
|
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-02 20:28:04.911705"], ["updated_at", "2015-11-02 20:28:04.911705"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
149
158
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
159
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
160
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
161
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
162
|
+
--------------------------------------------------------------------------
|
163
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0005_anonymous
|
164
|
+
--------------------------------------------------------------------------
|
165
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
166
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
167
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
150
168
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
151
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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-02
|
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-02 20:28:04.915639"], ["updated_at", "2015-11-02 20:28:04.915639"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
152
170
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
153
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
154
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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-02 16:59:24.408244"], ["updated_at", "2015-11-02 16:59:24.408244"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
155
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
156
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
157
171
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
158
172
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159
173
|
[1m[35m (0.1ms)[0m BEGIN
|
160
|
-
|
161
|
-
PushType::WysiwygMediaHelperTest::#
|
162
|
-
|
163
|
-
[1m[36m (0.
|
174
|
+
--------------------------------------------------------------------------
|
175
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0006_anonymous
|
176
|
+
--------------------------------------------------------------------------
|
177
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
164
178
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
165
179
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
166
|
-
[1m[35m (0.
|
167
|
-
[1m[36mSQL (0.
|
180
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_2
|
181
|
+
[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", "4"], ["created_at", "2015-11-02 20:28:04.920520"], ["updated_at", "2015-11-02 20:28:04.920520"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
168
182
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
183
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
184
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
185
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
186
|
+
--------------------------------------------------------------------------
|
187
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0002_anonymous
|
188
|
+
--------------------------------------------------------------------------
|
189
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
190
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
191
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
169
192
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
170
|
-
[1m[35mSQL (0.
|
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-02 20:28:04.925446"], ["updated_at", "2015-11-02 20:28:04.925446"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
171
194
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
195
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
196
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
197
|
+
[1m[35m (0.1ms)[0m BEGIN
|
198
|
+
--------------------------------------------------------------------------
|
199
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0003_anonymous
|
200
|
+
--------------------------------------------------------------------------
|
201
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
203
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
172
204
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
173
|
-
[1m[36mSQL (0.
|
205
|
+
[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", "6"], ["created_at", "2015-11-02 20:28:04.930063"], ["updated_at", "2015-11-02 20:28:04.930063"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
174
206
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
175
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
176
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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-02 16:59:24.420746"], ["updated_at", "2015-11-02 16:59:24.420746"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
177
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
178
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
179
207
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
180
208
|
[1m[35m (0.1ms)[0m ROLLBACK
|
181
209
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
182
|
-
|
183
|
-
PushType::WysiwygMediaHelperTest::#
|
184
|
-
|
210
|
+
--------------------------------------------------------------------------
|
211
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0007_anonymous
|
212
|
+
--------------------------------------------------------------------------
|
185
213
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
186
214
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
187
215
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
188
216
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
189
|
-
[1m[35mSQL (0.
|
217
|
+
[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", "7"], ["created_at", "2015-11-02 20:28:04.934314"], ["updated_at", "2015-11-02 20:28:04.934314"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
190
218
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
219
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
220
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
221
|
+
[1m[35m (0.1ms)[0m BEGIN
|
222
|
+
---------------------------------------------------------------------------
|
223
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0004_anonymous
|
224
|
+
---------------------------------------------------------------------------
|
225
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
226
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
227
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
191
228
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
192
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
229
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "8"], ["created_at", "2015-11-02 20:28:04.939401"], ["updated_at", "2015-11-02 20:28:04.939401"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
193
230
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
194
231
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
195
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "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"]]
|
196
233
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
197
234
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
198
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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"]]
|
199
236
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
237
|
+
[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", "11"], ["created_at", "2015-11-02 20:28:04.946050"], ["updated_at", "2015-11-02 20:28:04.946050"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
239
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
240
|
+
[1m[35mPushType::Asset Load (0.5ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
200
241
|
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
201
242
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
202
243
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
203
244
|
[1m[35m (0.1ms)[0m BEGIN
|
204
245
|
---------------------------------------------------------------------------
|
205
|
-
PushType::WysiwygMediaHelperTest::#
|
246
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0003_anonymous
|
206
247
|
---------------------------------------------------------------------------
|
207
248
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
208
249
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
209
|
-
[1m[36m (0.
|
250
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
210
251
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
211
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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"]]
|
212
253
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
213
254
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
214
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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", "13"], ["created_at", "2015-11-02 20:28:04.957007"], ["updated_at", "2015-11-02 20:28:04.957007"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
215
256
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
216
257
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
217
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "14"], ["created_at", "2015-11-02 20:28:04.959216"], ["updated_at", "2015-11-02 20:28:04.959216"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
218
259
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
219
260
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
220
|
-
[1m[35mSQL (0.
|
261
|
+
[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", "15"], ["created_at", "2015-11-02 20:28:04.961630"], ["updated_at", "2015-11-02 20:28:04.961630"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
221
262
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
222
|
-
[1m[
|
223
|
-
[1m[36m (0.1ms)[0m [
|
224
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
225
|
-
[1m[36m (0.1ms)[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
|
226
268
|
---------------------------------------------------------------------------
|
227
|
-
PushType::WysiwygMediaHelperTest::#
|
269
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0001_anonymous
|
228
270
|
---------------------------------------------------------------------------
|
229
|
-
[1m[
|
230
|
-
[1m[
|
231
|
-
[1m[
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
275
|
+
[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", "16"], ["created_at", "2015-11-02 20:28:04.967364"], ["updated_at", "2015-11-02 20:28:04.967364"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
276
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
277
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
278
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "17"], ["created_at", "2015-11-02 20:28:04.969726"], ["updated_at", "2015-11-02 20:28:04.969726"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
279
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
280
|
+
[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", "18"], ["created_at", "2015-11-02 20:28:04.971886"], ["updated_at", "2015-11-02 20:28:04.971886"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
282
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
232
283
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
233
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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", "19"], ["created_at", "2015-11-02 20:28:04.974084"], ["updated_at", "2015-11-02 20:28:04.974084"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
234
285
|
[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
|
235
297
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
236
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "20"], ["created_at", "2015-11-02 20:28:04.979752"], ["updated_at", "2015-11-02 20:28:04.979752"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
237
299
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
238
300
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
239
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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", "21"], ["created_at", "2015-11-02 20:28:04.982075"], ["updated_at", "2015-11-02 20:28:04.982075"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
240
302
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
241
303
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
242
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "22"], ["created_at", "2015-11-02 20:28:04.984238"], ["updated_at", "2015-11-02 20:28:04.984238"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
243
305
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
244
|
-
[1m[36m (0.
|
306
|
+
[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", "23"], ["created_at", "2015-11-02 20:28:04.986446"], ["updated_at", "2015-11-02 20:28:04.986446"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
308
|
+
[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
|
245
311
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
246
312
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
247
313
|
[1m[35m (0.1ms)[0m BEGIN
|
248
|
-
|
249
|
-
PushType::WysiwygMediaHelperTest::#
|
250
|
-
|
251
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
252
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
314
|
+
---------------------------------------------------------------------------
|
315
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0005_anonymous
|
316
|
+
---------------------------------------------------------------------------
|
253
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
|
254
320
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "
|
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", "24"], ["created_at", "2015-11-02 20:28:04.992077"], ["updated_at", "2015-11-02 20:28:04.992077"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
322
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
323
|
+
[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", "25"], ["created_at", "2015-11-02 20:28:04.994325"], ["updated_at", "2015-11-02 20:28:04.994325"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
325
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
326
|
+
[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", "26"], ["created_at", "2015-11-02 20:28:04.996661"], ["updated_at", "2015-11-02 20:28:04.996661"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
256
328
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
257
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
258
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
259
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
260
|
-
--------------------------------------------------------------------------
|
261
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0002_anonymous
|
262
|
-
--------------------------------------------------------------------------
|
263
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
264
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
265
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
266
329
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
267
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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", "27"], ["created_at", "2015-11-02 20:28:04.998955"], ["updated_at", "2015-11-02 20:28:04.998955"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
268
331
|
[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
|
269
334
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
270
335
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
271
336
|
[1m[35m (0.1ms)[0m BEGIN
|
272
|
-
|
273
|
-
PushType::WysiwygMediaHelperTest::#
|
274
|
-
|
337
|
+
---------------------------------------------------------------------------
|
338
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0004_anonymous
|
339
|
+
---------------------------------------------------------------------------
|
275
340
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
276
341
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
277
|
-
[1m[36m (0.
|
342
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
343
|
+
[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", "28"], ["created_at", "2015-11-02 20:28:05.006185"], ["updated_at", "2015-11-02 20:28:05.006185"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
345
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
346
|
+
[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", "29"], ["created_at", "2015-11-02 20:28:05.008547"], ["updated_at", "2015-11-02 20:28:05.008547"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
348
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
278
349
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
279
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "30"], ["created_at", "2015-11-02 20:28:05.011035"], ["updated_at", "2015-11-02 20:28:05.011035"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
280
351
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
352
|
+
[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", "31"], ["created_at", "2015-11-02 20:28:05.013157"], ["updated_at", "2015-11-02 20:28:05.013157"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
354
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
355
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
281
356
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
282
357
|
[1m[35m (0.1ms)[0m ROLLBACK
|
283
358
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
284
|
-
|
285
|
-
PushType::WysiwygMediaHelperTest::#
|
286
|
-
|
287
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
288
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
359
|
+
---------------------------------------------------------------------------
|
360
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0002_anonymous
|
361
|
+
---------------------------------------------------------------------------
|
289
362
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
363
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
364
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
365
|
+
[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", "32"], ["created_at", "2015-11-02 20:28:05.017732"], ["updated_at", "2015-11-02 20:28:05.017732"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
367
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
368
|
+
[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", "33"], ["created_at", "2015-11-02 20:28:05.019972"], ["updated_at", "2015-11-02 20:28:05.019972"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
370
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
290
371
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
291
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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", "34"], ["created_at", "2015-11-02 20:28:05.022361"], ["updated_at", "2015-11-02 20:28:05.022361"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
292
373
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
374
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
375
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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-02 20:28:05.024418"], ["updated_at", "2015-11-02 20:28:05.024418"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
376
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
377
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
293
378
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
294
379
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
295
380
|
[1m[35m (0.1ms)[0m BEGIN
|
296
|
-
|
297
|
-
PushType::WysiwygMediaHelperTest::#
|
298
|
-
|
299
|
-
[1m[36m (0.
|
300
|
-
[1m[35m (0.
|
381
|
+
---------------------------------------------------------------------------
|
382
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0001_anonymous
|
383
|
+
---------------------------------------------------------------------------
|
384
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
385
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
301
386
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
302
387
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
303
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
388
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "36"], ["created_at", "2015-11-02 20:28:05.028929"], ["updated_at", "2015-11-02 20:28:05.028929"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
389
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
390
|
+
[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", "37"], ["created_at", "2015-11-02 20:28:05.031104"], ["updated_at", "2015-11-02 20:28:05.031104"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
392
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
393
|
+
[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", "38"], ["created_at", "2015-11-02 20:28:05.033267"], ["updated_at", "2015-11-02 20:28:05.033267"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
304
395
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
396
|
+
[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", "39"], ["created_at", "2015-11-02 20:28:05.035337"], ["updated_at", "2015-11-02 20:28:05.035337"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
398
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
399
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
305
400
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
306
401
|
[1m[35m (0.1ms)[0m ROLLBACK
|
307
402
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
308
|
-
|
309
|
-
PushType::WysiwygMediaHelperTest::#
|
310
|
-
|
403
|
+
---------------------------------------------------------------------------
|
404
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0005_anonymous
|
405
|
+
---------------------------------------------------------------------------
|
311
406
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
312
407
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
313
408
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
314
409
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "
|
410
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "40"], ["created_at", "2015-11-02 20:28:05.039856"], ["updated_at", "2015-11-02 20:28:05.039856"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
411
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
412
|
+
[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", "41"], ["created_at", "2015-11-02 20:28:05.042162"], ["updated_at", "2015-11-02 20:28:05.042162"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
414
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
415
|
+
[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", "42"], ["created_at", "2015-11-02 20:28:05.044406"], ["updated_at", "2015-11-02 20:28:05.044406"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
316
417
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
418
|
+
[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", "43"], ["created_at", "2015-11-02 20:28:05.046579"], ["updated_at", "2015-11-02 20:28:05.046579"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
420
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
421
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
317
422
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
318
423
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
319
424
|
[1m[35m (0.1ms)[0m BEGIN
|
320
|
-
|
321
|
-
PushType::WysiwygMediaHelperTest::#
|
322
|
-
|
323
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
324
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
425
|
+
---------------------------------------------------------------------------
|
426
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0003_anonymous
|
427
|
+
---------------------------------------------------------------------------
|
325
428
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
429
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
430
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
431
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
432
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "44"], ["created_at", "2015-11-02 20:28:05.051049"], ["updated_at", "2015-11-02 20:28:05.051049"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
433
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
434
|
+
[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", "45"], ["created_at", "2015-11-02 20:28:05.053147"], ["updated_at", "2015-11-02 20:28:05.053147"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
436
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
326
437
|
[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", "
|
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", "46"], ["created_at", "2015-11-02 20:28:05.055321"], ["updated_at", "2015-11-02 20:28:05.055321"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
328
439
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
440
|
+
[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", "47"], ["created_at", "2015-11-02 20:28:05.057394"], ["updated_at", "2015-11-02 20:28:05.057394"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
442
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
443
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
329
444
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
330
445
|
[1m[35m (0.1ms)[0m ROLLBACK
|
331
446
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
@@ -335,280 +450,280 @@ PushType::WysiwygMediaControllerTest::POST #create::asset count: test_0001_anony
|
|
335
450
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
336
451
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
337
452
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
338
|
-
[1m[36m (0.
|
453
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
339
454
|
Processing by PushType::WysiwygMediaController#create as JSON
|
340
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:
|
455
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f8cc3dc9568 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151102-15120-v7ehvf>>}}
|
341
456
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
342
|
-
[1m[36mSQL (0.
|
457
|
+
[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", "48"], ["created_at", "2015-11-02 20:28:05.078927"], ["updated_at", "2015-11-02 20:28:05.078927"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
343
458
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
344
|
-
Completed 200 OK in
|
459
|
+
Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
345
460
|
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
346
461
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
347
462
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
348
|
-
[1m[35m (0.
|
463
|
+
[1m[35m (0.0ms)[0m BEGIN
|
349
464
|
-------------------------------------------------------------------------------------------
|
350
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images:
|
465
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0001_anonymous
|
351
466
|
-------------------------------------------------------------------------------------------
|
352
|
-
[1m[36m (0.
|
467
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
353
468
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
354
|
-
[1m[36m (0.
|
469
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
355
470
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
356
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.084897"], ["updated_at", "2015-11-02 20:28:05.084897"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
357
472
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
358
473
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
359
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.087111"], ["updated_at", "2015-11-02 20:28:05.087111"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
360
475
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
361
476
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
362
|
-
[1m[36mSQL (0.
|
477
|
+
[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", "51"], ["created_at", "2015-11-02 20:28:05.089346"], ["updated_at", "2015-11-02 20:28:05.089346"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
363
478
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
364
479
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
365
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.091668"], ["updated_at", "2015-11-02 20:28:05.091668"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
366
481
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
367
482
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
368
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.093880"], ["updated_at", "2015-11-02 20:28:05.093880"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
369
484
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
370
485
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
371
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.096395"], ["updated_at", "2015-11-02 20:28:05.096395"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
372
487
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
373
488
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
374
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.098617"], ["updated_at", "2015-11-02 20:28:05.098617"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
375
490
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
376
491
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
377
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.100748"], ["updated_at", "2015-11-02 20:28:05.100748"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
378
493
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
379
494
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
380
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.102936"], ["updated_at", "2015-11-02 20:28:05.102936"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
381
496
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
382
497
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
383
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.105623"], ["updated_at", "2015-11-02 20:28:05.105623"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
384
499
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
385
500
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
386
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.107971"], ["updated_at", "2015-11-02 20:28:05.107971"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
387
502
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
388
503
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
389
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.110030"], ["updated_at", "2015-11-02 20:28:05.110030"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
390
505
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
391
506
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
392
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.112157"], ["updated_at", "2015-11-02 20:28:05.112157"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
393
508
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
394
509
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
395
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.114302"], ["updated_at", "2015-11-02 20:28:05.114302"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
396
511
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
397
512
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
398
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.116466"], ["updated_at", "2015-11-02 20:28:05.116466"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
399
514
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
400
515
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
401
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.118914"], ["updated_at", "2015-11-02 20:28:05.118914"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
402
517
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
403
518
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
404
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.121063"], ["updated_at", "2015-11-02 20:28:05.121063"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
405
520
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
406
521
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
407
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.123191"], ["updated_at", "2015-11-02 20:28:05.123191"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
408
523
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
409
524
|
Processing by PushType::WysiwygMediaController#index as JSON
|
410
525
|
Parameters: {"filter"=>"image"}
|
411
|
-
[1m[35mPushType::Asset Load (0.
|
526
|
+
[1m[35mPushType::Asset Load (0.4ms)[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
|
412
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
|
413
|
-
Completed 200 OK in
|
528
|
+
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.6ms)
|
414
529
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
415
|
-
[1m[36m (0.
|
530
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
416
531
|
[1m[35m (0.1ms)[0m BEGIN
|
417
532
|
-------------------------------------------------------------------------------------------
|
418
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images:
|
533
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0004_anonymous
|
419
534
|
-------------------------------------------------------------------------------------------
|
420
|
-
[1m[36m (0.
|
535
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
421
536
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
422
537
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
423
538
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
424
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.136979"], ["updated_at", "2015-11-02 20:28:05.136979"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
425
540
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
426
541
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
427
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.139309"], ["updated_at", "2015-11-02 20:28:05.139309"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
428
543
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
429
544
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
430
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.141445"], ["updated_at", "2015-11-02 20:28:05.141445"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
431
546
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
432
547
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
433
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.143642"], ["updated_at", "2015-11-02 20:28:05.143642"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
434
549
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
435
550
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
436
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.145805"], ["updated_at", "2015-11-02 20:28:05.145805"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
437
552
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
438
553
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
439
|
-
[1m[35mSQL (0.
|
554
|
+
[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", "72"], ["created_at", "2015-11-02 20:28:05.148275"], ["updated_at", "2015-11-02 20:28:05.148275"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
440
555
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
441
556
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
442
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.151262"], ["updated_at", "2015-11-02 20:28:05.151262"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
443
558
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
444
559
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
445
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.153554"], ["updated_at", "2015-11-02 20:28:05.153554"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
446
561
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
447
562
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
448
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.155790"], ["updated_at", "2015-11-02 20:28:05.155790"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
449
564
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
450
565
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
451
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.158197"], ["updated_at", "2015-11-02 20:28:05.158197"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
452
567
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
453
568
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
454
|
-
[1m[36mSQL (0.
|
569
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02 20:28:05.160533"], ["updated_at", "2015-11-02 20:28:05.160533"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
455
570
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
456
571
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
457
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.162918"], ["updated_at", "2015-11-02 20:28:05.162918"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
458
573
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
459
574
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
460
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.164952"], ["updated_at", "2015-11-02 20:28:05.164952"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
461
576
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
462
577
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
463
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.167102"], ["updated_at", "2015-11-02 20:28:05.167102"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
464
579
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
465
580
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
466
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.169221"], ["updated_at", "2015-11-02 20:28:05.169221"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
467
582
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
468
583
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
469
|
-
[1m[35mSQL (0.
|
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-02 20:28:05.171892"], ["updated_at", "2015-11-02 20:28:05.171892"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
470
585
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
471
586
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
472
|
-
[1m[36mSQL (0.
|
587
|
+
[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", "83"], ["created_at", "2015-11-02 20:28:05.174881"], ["updated_at", "2015-11-02 20:28:05.174881"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
473
588
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
474
589
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
475
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.177353"], ["updated_at", "2015-11-02 20:28:05.177353"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
476
591
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
477
592
|
Processing by PushType::WysiwygMediaController#index as JSON
|
478
593
|
Parameters: {"filter"=>"image"}
|
479
|
-
[1m[35mPushType::Asset Load (0.
|
480
|
-
[1m[36m (0.
|
481
|
-
Completed 200 OK in
|
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
|
+
[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 4ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
482
597
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
483
|
-
[1m[36m (0.
|
598
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
484
599
|
[1m[35m (0.1ms)[0m BEGIN
|
485
600
|
-------------------------------------------------------------------------------------------
|
486
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images:
|
601
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0002_anonymous
|
487
602
|
-------------------------------------------------------------------------------------------
|
488
603
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
489
604
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
490
|
-
[1m[36m (0.
|
605
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
491
606
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
492
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.185815"], ["updated_at", "2015-11-02 20:28:05.185815"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
493
608
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
494
609
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
495
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.188058"], ["updated_at", "2015-11-02 20:28:05.188058"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
496
611
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
497
612
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
498
|
-
[1m[36mSQL (0.
|
613
|
+
[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", "87"], ["created_at", "2015-11-02 20:28:05.190218"], ["updated_at", "2015-11-02 20:28:05.190218"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
499
614
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
500
615
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
501
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.193216"], ["updated_at", "2015-11-02 20:28:05.193216"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
502
617
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
503
618
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
504
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.195731"], ["updated_at", "2015-11-02 20:28:05.195731"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
505
620
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
506
621
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
507
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.197961"], ["updated_at", "2015-11-02 20:28:05.197961"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
508
623
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
509
624
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
510
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.200237"], ["updated_at", "2015-11-02 20:28:05.200237"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
511
626
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
512
627
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
513
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.202414"], ["updated_at", "2015-11-02 20:28:05.202414"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
514
629
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
515
630
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
516
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.204448"], ["updated_at", "2015-11-02 20:28:05.204448"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
517
632
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
518
633
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
519
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.206714"], ["updated_at", "2015-11-02 20:28:05.206714"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
520
635
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
521
636
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
522
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.209024"], ["updated_at", "2015-11-02 20:28:05.209024"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
523
638
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
524
639
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
525
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.211185"], ["updated_at", "2015-11-02 20:28:05.211185"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
526
641
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
527
642
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
528
|
-
[1m[36mSQL (0.
|
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-02 20:28:05.213524"], ["updated_at", "2015-11-02 20:28:05.213524"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
529
644
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
530
645
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
531
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.215671"], ["updated_at", "2015-11-02 20:28:05.215671"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
532
647
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
533
648
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
534
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.217822"], ["updated_at", "2015-11-02 20:28:05.217822"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
535
650
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
536
651
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
537
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.220324"], ["updated_at", "2015-11-02 20:28:05.220324"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
538
653
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
539
654
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
540
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.222398"], ["updated_at", "2015-11-02 20:28:05.222398"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
541
656
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
542
657
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
543
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.224480"], ["updated_at", "2015-11-02 20:28:05.224480"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
544
659
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
545
660
|
Processing by PushType::WysiwygMediaController#index as JSON
|
546
661
|
Parameters: {"filter"=>"image"}
|
547
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
|
548
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
|
549
|
-
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.
|
664
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
550
665
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
551
666
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
552
667
|
[1m[35m (0.1ms)[0m BEGIN
|
553
668
|
-------------------------------------------------------------------------------------------
|
554
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images:
|
669
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0003_anonymous
|
555
670
|
-------------------------------------------------------------------------------------------
|
556
671
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
557
672
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
558
|
-
[1m[36m (0.
|
673
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
559
674
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
560
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.232748"], ["updated_at", "2015-11-02 20:28:05.232748"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
561
676
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
562
677
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
563
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.234944"], ["updated_at", "2015-11-02 20:28:05.234944"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
564
679
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
565
680
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
566
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.237137"], ["updated_at", "2015-11-02 20:28:05.237137"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
567
682
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
568
683
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
569
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.239315"], ["updated_at", "2015-11-02 20:28:05.239315"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
570
685
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
571
686
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
572
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.241415"], ["updated_at", "2015-11-02 20:28:05.241415"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
573
688
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
574
689
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
575
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.243592"], ["updated_at", "2015-11-02 20:28:05.243592"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
576
691
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
577
692
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
578
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.245620"], ["updated_at", "2015-11-02 20:28:05.245620"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
579
694
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
580
695
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
581
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.247703"], ["updated_at", "2015-11-02 20:28:05.247703"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
582
697
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
583
698
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
584
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
699
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02 20:28:05.249703"], ["updated_at", "2015-11-02 20:28:05.249703"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
585
700
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
586
701
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
587
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.251711"], ["updated_at", "2015-11-02 20:28:05.251711"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
588
703
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
589
704
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
590
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.253911"], ["updated_at", "2015-11-02 20:28:05.253911"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
591
706
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
592
707
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
593
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.255987"], ["updated_at", "2015-11-02 20:28:05.255987"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
594
709
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
595
710
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
596
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.258032"], ["updated_at", "2015-11-02 20:28:05.258032"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
597
712
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
598
713
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
599
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.260209"], ["updated_at", "2015-11-02 20:28:05.260209"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
600
715
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
601
716
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
602
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.262276"], ["updated_at", "2015-11-02 20:28:05.262276"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
603
718
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
604
719
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
605
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.264378"], ["updated_at", "2015-11-02 20:28:05.264378"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
606
721
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
607
722
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
608
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.266707"], ["updated_at", "2015-11-02 20:28:05.266707"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
609
724
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
610
725
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
611
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.268881"], ["updated_at", "2015-11-02 20:28:05.268881"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
612
727
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
613
728
|
Processing by PushType::WysiwygMediaController#index as JSON
|
614
729
|
Parameters: {"filter"=>"image"}
|
@@ -618,883 +733,768 @@ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
|
618
733
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
619
734
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
620
735
|
[1m[35m (0.1ms)[0m BEGIN
|
621
|
-
|
622
|
-
PushType::
|
623
|
-
|
736
|
+
--------------------------------------------------------------------------------------------
|
737
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0002_anonymous
|
738
|
+
--------------------------------------------------------------------------------------------
|
739
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
740
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
741
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
742
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
743
|
+
Parameters: {"asset"=>{}}
|
744
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
745
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
746
|
+
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
747
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
748
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
749
|
+
[1m[35m (0.1ms)[0m BEGIN
|
750
|
+
--------------------------------------------------------------------------------------------
|
751
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0001_anonymous
|
752
|
+
--------------------------------------------------------------------------------------------
|
624
753
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
625
754
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
626
755
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
756
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
757
|
+
Parameters: {"asset"=>{}}
|
627
758
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
628
|
-
[1m[
|
629
|
-
|
630
|
-
[1m[
|
631
|
-
[1m[
|
632
|
-
[1m[
|
759
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
760
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
761
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
762
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
763
|
+
[1m[35m (0.1ms)[0m BEGIN
|
764
|
+
--------------------------------------------------------------------------------------------
|
765
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0003_anonymous
|
766
|
+
--------------------------------------------------------------------------------------------
|
767
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
768
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
769
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
770
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
771
|
+
Parameters: {"asset"=>{}}
|
633
772
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
634
|
-
[1m[
|
635
|
-
|
636
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
637
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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-02 16:59:24.702117"], ["updated_at", "2015-11-02 16:59:24.702117"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
638
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
639
|
-
[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
|
640
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
773
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
774
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
641
775
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
642
|
-
[1m[36m (0.
|
776
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
643
777
|
[1m[35m (0.1ms)[0m BEGIN
|
644
|
-
|
645
|
-
PushType::
|
646
|
-
|
778
|
+
-----------------------------------------------
|
779
|
+
PushType::WysiwygFieldTest: test_0003_anonymous
|
780
|
+
-----------------------------------------------
|
647
781
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
648
782
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
649
783
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
650
784
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
651
|
-
[1m[
|
652
|
-
[1m[
|
653
|
-
[1m[36m (0.
|
654
|
-
[1m[35mSQL (0.
|
655
|
-
[1m[36m (0.
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
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
|
661
801
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
662
|
-
[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
|
663
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
664
802
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
665
803
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
666
804
|
[1m[35m (0.1ms)[0m BEGIN
|
667
|
-
|
668
|
-
PushType::
|
669
|
-
|
805
|
+
-----------------------------------------------
|
806
|
+
PushType::WysiwygFieldTest: test_0001_anonymous
|
807
|
+
-----------------------------------------------
|
670
808
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
671
809
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
672
810
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
673
811
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
674
|
-
[1m[
|
675
|
-
[1m[
|
676
|
-
[1m[36m (0.1ms)[0m [
|
677
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "
|
812
|
+
[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
|
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
|
678
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
|
679
838
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
680
|
-
[1m[
|
681
|
-
[1m[
|
682
|
-
[1m[36m (0.1ms)[0m [
|
683
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "
|
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
|
684
855
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
685
|
-
[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
|
686
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
687
856
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
688
857
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
689
858
|
[1m[35m (0.1ms)[0m BEGIN
|
690
|
-
|
691
|
-
PushType::
|
692
|
-
|
693
|
-
[1m[36m (0.
|
859
|
+
-----------------------------------------------
|
860
|
+
PushType::WysiwygFieldTest: test_0002_anonymous
|
861
|
+
-----------------------------------------------
|
862
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
694
863
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
695
864
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
696
865
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
697
|
-
[1m[
|
698
|
-
[1m[
|
699
|
-
[1m[36m (0.1ms)[0m [
|
700
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "
|
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
|
701
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
|
702
892
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
703
|
-
[1m[
|
704
|
-
[1m[
|
705
|
-
[1m[36m (0.1ms)[0m [
|
706
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "
|
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
|
707
909
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
708
|
-
[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
|
709
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
710
910
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
711
911
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
712
912
|
[1m[35m (0.1ms)[0m BEGIN
|
713
|
-
|
714
|
-
PushType::
|
715
|
-
|
913
|
+
-----------------------------------------------------------------------------------------
|
914
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0002_anonymous
|
915
|
+
-----------------------------------------------------------------------------------------
|
716
916
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
717
|
-
[1m[35m (0.
|
917
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
718
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>>}}
|
719
921
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
720
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
721
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
722
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
723
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "118"], ["created_at", "2015-11-02 16:59:24.745248"], ["updated_at", "2015-11-02 16:59:24.745248"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
724
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
725
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
726
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "119"], ["created_at", "2015-11-02 16:59:24.747313"], ["updated_at", "2015-11-02 16:59:24.747313"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
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"]]
|
727
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>>}}
|
728
936
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
729
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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"]]
|
730
938
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
731
|
-
|
732
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
939
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
733
940
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
734
941
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
735
942
|
[1m[35m (0.1ms)[0m BEGIN
|
736
|
-
|
737
|
-
PushType::WysiwygMediaControllerTest::
|
738
|
-
|
943
|
+
-----------------------------------------------------------------------------------------
|
944
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0003_anonymous
|
945
|
+
-----------------------------------------------------------------------------------------
|
739
946
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
740
947
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
741
|
-
[1m[36m (0.
|
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>>}}
|
742
951
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
743
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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"]]
|
744
953
|
[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
|
745
964
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
746
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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", "124"], ["created_at", "2015-11-02 20:28:05.385364"], ["updated_at", "2015-11-02 20:28:05.385364"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
747
966
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
748
967
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
749
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "125"], ["created_at", "2015-11-02 20:28:05.387732"], ["updated_at", "2015-11-02 20:28:05.387732"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
750
969
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
751
970
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
752
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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", "126"], ["created_at", "2015-11-02 20:28:05.390046"], ["updated_at", "2015-11-02 20:28:05.390046"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
753
972
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
754
973
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
755
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "127"], ["created_at", "2015-11-02 20:28:05.392312"], ["updated_at", "2015-11-02 20:28:05.392312"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
756
975
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
757
976
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
758
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "128"], ["created_at", "2015-11-02 20:28:05.394693"], ["updated_at", "2015-11-02 20:28:05.394693"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
759
978
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
760
979
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
761
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "129"], ["created_at", "2015-11-02 20:28:05.396875"], ["updated_at", "2015-11-02 20:28:05.396875"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
762
981
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
763
982
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
764
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "130"], ["created_at", "2015-11-02 20:28:05.399156"], ["updated_at", "2015-11-02 20:28:05.399156"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
765
984
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
766
985
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
767
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "131"], ["created_at", "2015-11-02 20:28:05.401447"], ["updated_at", "2015-11-02 20:28:05.401447"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
768
987
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
769
988
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
770
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "132"], ["created_at", "2015-11-02 20:28:05.403832"], ["updated_at", "2015-11-02 20:28:05.403832"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
771
990
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
772
991
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
773
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "133"], ["created_at", "2015-11-02 20:28:05.405989"], ["updated_at", "2015-11-02 20:28:05.405989"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
774
993
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
775
994
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
776
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "134"], ["created_at", "2015-11-02 20:28:05.408186"], ["updated_at", "2015-11-02 20:28:05.408186"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
777
996
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
778
997
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
779
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "135"], ["created_at", "2015-11-02 20:28:05.410370"], ["updated_at", "2015-11-02 20:28:05.410370"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
780
999
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
781
1000
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
782
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "136"], ["created_at", "2015-11-02 20:28:05.412597"], ["updated_at", "2015-11-02 20:28:05.412597"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
783
1002
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
784
1003
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "137"], ["created_at", "2015-11-02 20:28:05.414869"], ["updated_at", "2015-11-02 20:28:05.414869"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
786
1005
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
787
1006
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "138"], ["created_at", "2015-11-02 20:28:05.417133"], ["updated_at", "2015-11-02 20:28:05.417133"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
789
1008
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
790
1009
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "139"], ["created_at", "2015-11-02 20:28:05.419278"], ["updated_at", "2015-11-02 20:28:05.419278"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
792
1011
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
793
1012
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "140"], ["created_at", "2015-11-02 20:28:05.421464"], ["updated_at", "2015-11-02 20:28:05.421464"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
795
1014
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
796
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
797
|
-
Parameters: {"filter"=>"file"}
|
798
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
799
|
-
[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
|
800
|
-
Completed 200 OK in 119ms (Views: 1.0ms | ActiveRecord: 0.6ms)
|
801
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
802
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
803
|
-
[1m[35m (0.1ms)[0m BEGIN
|
804
|
-
------------------------------------------------------------------------------------------
|
805
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0003_anonymous
|
806
|
-
------------------------------------------------------------------------------------------
|
807
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
808
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
809
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
810
1015
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
811
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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"]]
|
812
1017
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1018
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1019
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
1020
|
+
[1m[36mPushType::Asset Load (0.4ms)[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 12[0m
|
1021
|
+
[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/%')
|
1022
|
+
Completed 200 OK in 119ms (Views: 0.4ms | ActiveRecord: 0.8ms)
|
1023
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1024
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1025
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1026
|
+
--------------------------------------------------------------------------------------
|
1027
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0001_anonymous
|
1028
|
+
--------------------------------------------------------------------------------------
|
1029
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1031
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
813
1032
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
814
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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"]]
|
815
1034
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
816
1035
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
817
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "143"], ["created_at", "2015-11-02 20:28:05.550356"], ["updated_at", "2015-11-02 20:28:05.550356"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
818
1037
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
819
1038
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
820
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
1039
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "144"], ["created_at", "2015-11-02 20:28:05.552777"], ["updated_at", "2015-11-02 20:28:05.552777"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
821
1040
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
822
1041
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
823
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "145"], ["created_at", "2015-11-02 20:28:05.555251"], ["updated_at", "2015-11-02 20:28:05.555251"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
824
1043
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
825
1044
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
826
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "146"], ["created_at", "2015-11-02 20:28:05.557871"], ["updated_at", "2015-11-02 20:28:05.557871"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
827
1046
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
828
1047
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
829
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "147"], ["created_at", "2015-11-02 20:28:05.560355"], ["updated_at", "2015-11-02 20:28:05.560355"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
830
1049
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
831
1050
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
832
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "148"], ["created_at", "2015-11-02 20:28:05.562883"], ["updated_at", "2015-11-02 20:28:05.562883"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
833
1052
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
834
1053
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
835
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "149"], ["created_at", "2015-11-02 20:28:05.565037"], ["updated_at", "2015-11-02 20:28:05.565037"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
836
1055
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
837
1056
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
838
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "150"], ["created_at", "2015-11-02 20:28:05.567289"], ["updated_at", "2015-11-02 20:28:05.567289"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
839
1058
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
840
1059
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
841
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "151"], ["created_at", "2015-11-02 20:28:05.569429"], ["updated_at", "2015-11-02 20:28:05.569429"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
842
1061
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
843
1062
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
844
|
-
[1m[35mSQL (0.
|
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", "152"], ["created_at", "2015-11-02 20:28:05.571474"], ["updated_at", "2015-11-02 20:28:05.571474"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
845
1064
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
846
1065
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
847
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "153"], ["created_at", "2015-11-02 20:28:05.573543"], ["updated_at", "2015-11-02 20:28:05.573543"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
848
1067
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
849
1068
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
850
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "154"], ["created_at", "2015-11-02 20:28:05.575589"], ["updated_at", "2015-11-02 20:28:05.575589"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
851
1070
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
852
1071
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "155"], ["created_at", "2015-11-02 20:28:05.577736"], ["updated_at", "2015-11-02 20:28:05.577736"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
854
1073
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
855
1074
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
856
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "156"], ["created_at", "2015-11-02 20:28:05.579953"], ["updated_at", "2015-11-02 20:28:05.579953"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
857
1076
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
858
1077
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "157"], ["created_at", "2015-11-02 20:28:05.582200"], ["updated_at", "2015-11-02 20:28:05.582200"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
860
1079
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
861
1080
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "158"], ["created_at", "2015-11-02 20:28:05.584378"], ["updated_at", "2015-11-02 20:28:05.584378"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
863
1082
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
864
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
865
|
-
Parameters: {"filter"=>"file"}
|
866
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
867
|
-
[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
|
868
|
-
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
869
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
870
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
871
|
-
[1m[35m (0.1ms)[0m BEGIN
|
872
|
-
------------------------------------------------------------------------------------------
|
873
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0002_anonymous
|
874
|
-
------------------------------------------------------------------------------------------
|
875
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
876
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
877
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
878
1083
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
879
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "159"], ["created_at", "2015-11-02 20:28:05.586470"], ["updated_at", "2015-11-02 20:28:05.586470"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
880
1085
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1086
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1087
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
1088
|
+
[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 12[0m
|
1089
|
+
[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/%')
|
1090
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1091
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1092
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1093
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1094
|
+
--------------------------------------------------------------------------------------
|
1095
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0002_anonymous
|
1096
|
+
--------------------------------------------------------------------------------------
|
1097
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1098
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1099
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
881
1100
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
882
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1101
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "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"]]
|
883
1102
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
884
1103
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
885
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "161"], ["created_at", "2015-11-02 20:28:05.595821"], ["updated_at", "2015-11-02 20:28:05.595821"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
886
1105
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
887
1106
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
888
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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", "162"], ["created_at", "2015-11-02 20:28:05.597871"], ["updated_at", "2015-11-02 20:28:05.597871"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
889
1108
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
890
1109
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
891
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
892
|
-
[1m[35m (0.
|
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", "163"], ["created_at", "2015-11-02 20:28:05.599889"], ["updated_at", "2015-11-02 20:28:05.599889"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1111
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
893
1112
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
894
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "164"], ["created_at", "2015-11-02 20:28:05.602043"], ["updated_at", "2015-11-02 20:28:05.602043"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
895
1114
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
896
1115
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
897
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1116
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "165"], ["created_at", "2015-11-02 20:28:05.604216"], ["updated_at", "2015-11-02 20:28:05.604216"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
898
1117
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
899
1118
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
900
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "166"], ["created_at", "2015-11-02 20:28:05.606186"], ["updated_at", "2015-11-02 20:28:05.606186"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
901
1120
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
902
1121
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
903
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "167"], ["created_at", "2015-11-02 20:28:05.608292"], ["updated_at", "2015-11-02 20:28:05.608292"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
904
1123
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
905
1124
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
906
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "168"], ["created_at", "2015-11-02 20:28:05.610329"], ["updated_at", "2015-11-02 20:28:05.610329"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
907
1126
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
908
1127
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
909
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "169"], ["created_at", "2015-11-02 20:28:05.612292"], ["updated_at", "2015-11-02 20:28:05.612292"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
910
1129
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
911
1130
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
912
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "170"], ["created_at", "2015-11-02 20:28:05.614623"], ["updated_at", "2015-11-02 20:28:05.614623"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
913
1132
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
914
1133
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
915
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "171"], ["created_at", "2015-11-02 20:28:05.616851"], ["updated_at", "2015-11-02 20:28:05.616851"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
916
1135
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
917
1136
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
918
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1137
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02 20:28:05.618866"], ["updated_at", "2015-11-02 20:28:05.618866"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
919
1138
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
920
1139
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "173"], ["created_at", "2015-11-02 20:28:05.620873"], ["updated_at", "2015-11-02 20:28:05.620873"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
922
1141
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
923
1142
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "174"], ["created_at", "2015-11-02 20:28:05.622885"], ["updated_at", "2015-11-02 20:28:05.622885"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
925
1144
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
926
1145
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "175"], ["created_at", "2015-11-02 20:28:05.624939"], ["updated_at", "2015-11-02 20:28:05.624939"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
928
1147
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
929
1148
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "176"], ["created_at", "2015-11-02 20:28:05.627246"], ["updated_at", "2015-11-02 20:28:05.627246"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
931
1150
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
932
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
933
|
-
Parameters: {"filter"=>"file"}
|
934
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
935
|
-
[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
|
936
|
-
Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
937
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
938
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
939
|
-
[1m[35m (0.1ms)[0m BEGIN
|
940
|
-
------------------------------------------------------------------------------------------
|
941
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0004_anonymous
|
942
|
-
------------------------------------------------------------------------------------------
|
943
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
944
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
945
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
946
1151
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
947
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "177"], ["created_at", "2015-11-02 20:28:05.629804"], ["updated_at", "2015-11-02 20:28:05.629804"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
948
1153
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1154
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1155
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
1156
|
+
[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 12[0m
|
1157
|
+
[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/%')
|
1158
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1159
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1160
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1161
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1162
|
+
--------------------------------------------------------------------------------------
|
1163
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0003_anonymous
|
1164
|
+
--------------------------------------------------------------------------------------
|
1165
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1166
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1167
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
949
1168
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
950
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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"]]
|
951
1170
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
952
1171
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
953
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "179"], ["created_at", "2015-11-02 20:28:05.639720"], ["updated_at", "2015-11-02 20:28:05.639720"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
954
1173
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
955
1174
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
956
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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", "180"], ["created_at", "2015-11-02 20:28:05.642105"], ["updated_at", "2015-11-02 20:28:05.642105"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
957
1176
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
958
1177
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
959
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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", "181"], ["created_at", "2015-11-02 20:28:05.644359"], ["updated_at", "2015-11-02 20:28:05.644359"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
960
1179
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
961
1180
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
962
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "182"], ["created_at", "2015-11-02 20:28:05.646495"], ["updated_at", "2015-11-02 20:28:05.646495"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
963
1182
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
964
1183
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
965
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "183"], ["created_at", "2015-11-02 20:28:05.648632"], ["updated_at", "2015-11-02 20:28:05.648632"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
966
1185
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
967
1186
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
968
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "184"], ["created_at", "2015-11-02 20:28:05.650747"], ["updated_at", "2015-11-02 20:28:05.650747"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
969
1188
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
970
1189
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
971
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "185"], ["created_at", "2015-11-02 20:28:05.652897"], ["updated_at", "2015-11-02 20:28:05.652897"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
972
1191
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
973
1192
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
974
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "186"], ["created_at", "2015-11-02 20:28:05.654939"], ["updated_at", "2015-11-02 20:28:05.654939"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
975
1194
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
976
1195
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
977
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "187"], ["created_at", "2015-11-02 20:28:05.656991"], ["updated_at", "2015-11-02 20:28:05.656991"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
978
1197
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
979
1198
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
980
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "188"], ["created_at", "2015-11-02 20:28:05.659115"], ["updated_at", "2015-11-02 20:28:05.659115"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
981
1200
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
982
1201
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
983
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "189"], ["created_at", "2015-11-02 20:28:05.661165"], ["updated_at", "2015-11-02 20:28:05.661165"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
984
1203
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
985
1204
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
986
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "190"], ["created_at", "2015-11-02 20:28:05.663305"], ["updated_at", "2015-11-02 20:28:05.663305"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
987
1206
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
988
1207
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "191"], ["created_at", "2015-11-02 20:28:05.665405"], ["updated_at", "2015-11-02 20:28:05.665405"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
990
1209
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
991
1210
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
992
|
-
[1m[35mSQL (0.
|
1211
|
+
[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", "192"], ["created_at", "2015-11-02 20:28:05.667431"], ["updated_at", "2015-11-02 20:28:05.667431"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
993
1212
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
994
1213
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "193"], ["created_at", "2015-11-02 20:28:05.669732"], ["updated_at", "2015-11-02 20:28:05.669732"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
996
1215
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
997
1216
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "194"], ["created_at", "2015-11-02 20:28:05.672041"], ["updated_at", "2015-11-02 20:28:05.672041"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
999
1218
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1219
|
+
[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", "195"], ["created_at", "2015-11-02 20:28:05.674070"], ["updated_at", "2015-11-02 20:28:05.674070"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1221
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1000
1222
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1001
|
-
Parameters: {"filter"=>"file"}
|
1002
|
-
[1m[
|
1003
|
-
[1m[
|
1004
|
-
Completed 200 OK in
|
1005
|
-
[1m[
|
1006
|
-
[1m[
|
1007
|
-
[1m[
|
1008
|
-
|
1009
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
1010
|
-
|
1011
|
-
[1m[
|
1012
|
-
[1m[
|
1013
|
-
[1m[
|
1014
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1015
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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-02 16:59:25.078698"], ["updated_at", "2015-11-02 16:59:25.078698"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1016
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1223
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
1224
|
+
[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 12[0m
|
1225
|
+
[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/%')
|
1226
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1227
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1228
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1229
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1230
|
+
------------------------------------------------------------------------------------------
|
1231
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0002_anonymous
|
1232
|
+
------------------------------------------------------------------------------------------
|
1233
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1234
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1235
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1017
1236
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1018
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.682165"], ["updated_at", "2015-11-02 20:28:05.682165"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1019
1238
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1020
1239
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1021
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.684381"], ["updated_at", "2015-11-02 20:28:05.684381"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1022
1241
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1023
1242
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1024
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.686441"], ["updated_at", "2015-11-02 20:28:05.686441"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1025
1244
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1026
1245
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1027
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.688539"], ["updated_at", "2015-11-02 20:28:05.688539"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1028
1247
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1029
1248
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1030
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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-02 20:28:05.690546"], ["updated_at", "2015-11-02 20:28:05.690546"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1031
1250
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1032
1251
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1033
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.692679"], ["updated_at", "2015-11-02 20:28:05.692679"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1034
1253
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1035
1254
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1036
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.694780"], ["updated_at", "2015-11-02 20:28:05.694780"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1037
1256
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1038
1257
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1039
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.696818"], ["updated_at", "2015-11-02 20:28:05.696818"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1040
1259
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1041
1260
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1042
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1261
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02 20:28:05.698898"], ["updated_at", "2015-11-02 20:28:05.698898"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1043
1262
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1044
1263
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1045
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.700909"], ["updated_at", "2015-11-02 20:28:05.700909"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1046
1265
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1047
1266
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1048
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.703034"], ["updated_at", "2015-11-02 20:28:05.703034"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1049
1268
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1050
1269
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1051
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.705095"], ["updated_at", "2015-11-02 20:28:05.705095"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1052
1271
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1053
1272
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1054
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.707194"], ["updated_at", "2015-11-02 20:28:05.707194"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1055
1274
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1056
1275
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1057
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.709211"], ["updated_at", "2015-11-02 20:28:05.709211"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1058
1277
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1059
1278
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1060
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1279
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "210"], ["created_at", "2015-11-02 20:28:05.711341"], ["updated_at", "2015-11-02 20:28:05.711341"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1061
1280
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1062
1281
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1063
|
-
[1m[36mSQL (0.
|
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-02 20:28:05.713348"], ["updated_at", "2015-11-02 20:28:05.713348"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1064
1283
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1065
1284
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1066
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1285
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "212"], ["created_at", "2015-11-02 20:28:05.715669"], ["updated_at", "2015-11-02 20:28:05.715669"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1067
1286
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1068
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
1069
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
1070
|
-
[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
|
1071
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
1072
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1073
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1074
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1075
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1076
|
-
--------------------------------------------------------------------------------------
|
1077
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0002_anonymous
|
1078
|
-
--------------------------------------------------------------------------------------
|
1079
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1080
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1081
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1082
1287
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1083
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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-02 20:28:05.717862"], ["updated_at", "2015-11-02 20:28:05.717862"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1084
1289
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1290
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1291
|
+
Parameters: {"filter"=>"file"}
|
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
|
+
[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 10ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
1295
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1296
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1297
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1298
|
+
------------------------------------------------------------------------------------------
|
1299
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0001_anonymous
|
1300
|
+
------------------------------------------------------------------------------------------
|
1301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1302
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1303
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1085
1304
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1086
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.732693"], ["updated_at", "2015-11-02 20:28:05.732693"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1087
1306
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1088
1307
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1089
|
-
[1m[36mSQL (0.
|
1308
|
+
[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", "215"], ["created_at", "2015-11-02 20:28:05.734978"], ["updated_at", "2015-11-02 20:28:05.734978"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1090
1309
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1091
1310
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1092
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
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-02 20:28:05.751410"], ["updated_at", "2015-11-02 20:28:05.751410"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1093
1312
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1094
1313
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1095
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "
|
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-02 20:28:05.754005"], ["updated_at", "2015-11-02 20:28:05.754005"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1096
1315
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1097
1316
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1098
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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-02 20:28:05.756215"], ["updated_at", "2015-11-02 20:28:05.756215"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1099
1318
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1100
1319
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1101
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.758518"], ["updated_at", "2015-11-02 20:28:05.758518"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1102
1321
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1103
1322
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1104
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.760811"], ["updated_at", "2015-11-02 20:28:05.760811"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1105
1324
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1106
1325
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1107
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.763036"], ["updated_at", "2015-11-02 20:28:05.763036"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1108
1327
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1109
1328
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1110
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1329
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02 20:28:05.765324"], ["updated_at", "2015-11-02 20:28:05.765324"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1111
1330
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1112
1331
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1113
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.767679"], ["updated_at", "2015-11-02 20:28:05.767679"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1114
1333
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1115
1334
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1116
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.770310"], ["updated_at", "2015-11-02 20:28:05.770310"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1117
1336
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1118
1337
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1119
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.772898"], ["updated_at", "2015-11-02 20:28:05.772898"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1120
1339
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1121
1340
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1122
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.775502"], ["updated_at", "2015-11-02 20:28:05.775502"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1123
1342
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1124
1343
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1125
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.778096"], ["updated_at", "2015-11-02 20:28:05.778096"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1126
1345
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1127
1346
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1128
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1347
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "228"], ["created_at", "2015-11-02 20:28:05.780510"], ["updated_at", "2015-11-02 20:28:05.780510"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1129
1348
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1130
1349
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1131
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.783097"], ["updated_at", "2015-11-02 20:28:05.783097"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1132
1351
|
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
1133
1352
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1134
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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-02 20:28:05.785550"], ["updated_at", "2015-11-02 20:28:05.785550"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1135
1354
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1136
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
1137
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
1138
|
-
[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
|
1139
|
-
[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
|
1140
|
-
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
1141
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1142
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1143
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1144
|
-
--------------------------------------------------------------------------------------
|
1145
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0003_anonymous
|
1146
|
-
--------------------------------------------------------------------------------------
|
1147
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1148
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1149
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1150
1355
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1151
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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-02 20:28:05.787805"], ["updated_at", "2015-11-02 20:28:05.787805"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1152
1357
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1358
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1359
|
+
Parameters: {"filter"=>"file"}
|
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
|
+
[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 15ms (Views: 1.2ms | ActiveRecord: 0.6ms)
|
1363
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1364
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1365
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1366
|
+
------------------------------------------------------------------------------------------
|
1367
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0003_anonymous
|
1368
|
+
------------------------------------------------------------------------------------------
|
1369
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1370
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1371
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1153
1372
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1154
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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-02 20:28:05.807816"], ["updated_at", "2015-11-02 20:28:05.807816"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1155
1374
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1156
1375
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1157
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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-02 20:28:05.810458"], ["updated_at", "2015-11-02 20:28:05.810458"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1158
1377
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1159
1378
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1160
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "
|
1161
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1162
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1163
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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-02 16:59:25.215327"], ["updated_at", "2015-11-02 16:59:25.215327"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1164
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1165
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1166
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "234"], ["created_at", "2015-11-02 16:59:25.217693"], ["updated_at", "2015-11-02 16:59:25.217693"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
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-02 20:28:05.812905"], ["updated_at", "2015-11-02 20:28:05.812905"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1167
1380
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1168
1381
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1169
|
-
[1m[36mSQL (0.
|
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-02 20:28:05.815202"], ["updated_at", "2015-11-02 20:28:05.815202"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1170
1383
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1171
1384
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1172
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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-02 20:28:05.817653"], ["updated_at", "2015-11-02 20:28:05.817653"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1173
1386
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1174
1387
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1175
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02
|
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-02 20:28:05.820142"], ["updated_at", "2015-11-02 20:28:05.820142"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1176
1389
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1177
1390
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1178
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02
|
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-02 20:28:05.822867"], ["updated_at", "2015-11-02 20:28:05.822867"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1179
1392
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1180
1393
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1181
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02
|
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-02 20:28:05.825377"], ["updated_at", "2015-11-02 20:28:05.825377"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1182
1395
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1183
1396
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1184
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02
|
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-02 20:28:05.827929"], ["updated_at", "2015-11-02 20:28:05.827929"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1185
1398
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1186
1399
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1187
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02
|
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-02 20:28:05.830608"], ["updated_at", "2015-11-02 20:28:05.830608"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1188
1401
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1189
1402
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1190
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02
|
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-02 20:28:05.833088"], ["updated_at", "2015-11-02 20:28:05.833088"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1191
1404
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1192
1405
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1193
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02
|
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-02 20:28:05.835301"], ["updated_at", "2015-11-02 20:28:05.835301"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1194
1407
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1195
1408
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1196
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02
|
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-02 20:28:05.837369"], ["updated_at", "2015-11-02 20:28:05.837369"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1197
1410
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1198
1411
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1199
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02
|
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-02 20:28:05.839691"], ["updated_at", "2015-11-02 20:28:05.839691"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1200
1413
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1201
1414
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1202
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02
|
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-02 20:28:05.842058"], ["updated_at", "2015-11-02 20:28:05.842058"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1203
1416
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1204
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
1205
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
1206
|
-
[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
|
1207
|
-
[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
|
1208
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1209
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1210
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1211
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1212
|
-
--------------------------------------------------------------------------------------
|
1213
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0004_anonymous
|
1214
|
-
--------------------------------------------------------------------------------------
|
1215
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1216
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1217
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1218
1417
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1219
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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-02 20:28:05.844291"], ["updated_at", "2015-11-02 20:28:05.844291"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1220
1419
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1221
1420
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1222
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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-02 20:28:05.846724"], ["updated_at", "2015-11-02 20:28:05.846724"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1223
1422
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1224
1423
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1225
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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-02 20:28:05.848797"], ["updated_at", "2015-11-02 20:28:05.848797"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1226
1425
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1426
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1427
|
+
Parameters: {"filter"=>"file"}
|
1428
|
+
[1m[36mPushType::Asset Load (0.4ms)[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.2ms)[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 11ms (Views: 0.9ms | ActiveRecord: 0.6ms)
|
1431
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1432
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1433
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1434
|
+
------------------------------------------------------------------------------------------
|
1435
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0004_anonymous
|
1436
|
+
------------------------------------------------------------------------------------------
|
1437
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1438
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1439
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1227
1440
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1228
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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-02
|
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-02 20:28:05.864139"], ["updated_at", "2015-11-02 20:28:05.864139"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1229
1442
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1230
1443
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1231
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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-02
|
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-02 20:28:05.866365"], ["updated_at", "2015-11-02 20:28:05.866365"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1232
1445
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1233
1446
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1234
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1447
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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-02 20:28:05.868487"], ["updated_at", "2015-11-02 20:28:05.868487"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1235
1448
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1236
1449
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1237
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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-02 20:28:05.870505"], ["updated_at", "2015-11-02 20:28:05.870505"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1238
1451
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1239
1452
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1240
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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-02 20:28:05.872702"], ["updated_at", "2015-11-02 20:28:05.872702"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1241
1454
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1242
1455
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1243
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02
|
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-02 20:28:05.875076"], ["updated_at", "2015-11-02 20:28:05.875076"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1244
1457
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1245
1458
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1246
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02
|
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-02 20:28:05.877237"], ["updated_at", "2015-11-02 20:28:05.877237"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1247
1460
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1248
1461
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1249
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02
|
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-02 20:28:05.879249"], ["updated_at", "2015-11-02 20:28:05.879249"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1250
1463
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1251
1464
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1252
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02
|
1465
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02 20:28:05.881467"], ["updated_at", "2015-11-02 20:28:05.881467"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1253
1466
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1254
1467
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1255
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02
|
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-02 20:28:05.883540"], ["updated_at", "2015-11-02 20:28:05.883540"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1256
1469
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1257
1470
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1258
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02
|
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-02 20:28:05.885753"], ["updated_at", "2015-11-02 20:28:05.885753"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1259
1472
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1260
1473
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1261
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02
|
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-02 20:28:05.887915"], ["updated_at", "2015-11-02 20:28:05.887915"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1262
1475
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1263
1476
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1264
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02
|
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-02 20:28:05.889964"], ["updated_at", "2015-11-02 20:28:05.889964"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1265
1478
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1266
1479
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1267
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02
|
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-02 20:28:05.892171"], ["updated_at", "2015-11-02 20:28:05.892171"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1268
1481
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1269
1482
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1270
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-02
|
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-02 20:28:05.894744"], ["updated_at", "2015-11-02 20:28:05.894744"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1271
1484
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1272
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
1273
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
1274
|
-
[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
|
1275
|
-
[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
|
1276
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1277
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1278
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1279
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1280
|
-
--------------------------------------------------------------------------------------------
|
1281
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0001_anonymous
|
1282
|
-
--------------------------------------------------------------------------------------------
|
1283
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1284
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1285
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1286
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1287
|
-
Parameters: {"asset"=>{}}
|
1288
1485
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1289
|
-
[1m[
|
1290
|
-
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
1291
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1292
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1293
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1294
|
-
--------------------------------------------------------------------------------------------
|
1295
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0002_anonymous
|
1296
|
-
--------------------------------------------------------------------------------------------
|
1297
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1298
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1299
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1300
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1301
|
-
Parameters: {"asset"=>{}}
|
1302
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1303
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
1304
|
-
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
1305
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1306
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1307
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1308
|
-
--------------------------------------------------------------------------------------------
|
1309
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0003_anonymous
|
1310
|
-
--------------------------------------------------------------------------------------------
|
1311
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1312
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1313
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1314
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1315
|
-
Parameters: {"asset"=>{}}
|
1316
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1317
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
1318
|
-
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1319
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1320
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1321
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1322
|
-
-----------------------------------------------------------------------------------------
|
1323
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0002_anonymous
|
1324
|
-
-----------------------------------------------------------------------------------------
|
1325
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1326
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1327
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1328
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1329
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff6430e0510 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151102-10740-xfz4jw>>}}
|
1330
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1331
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "265"], ["created_at", "2015-11-02 16:59:25.389354"], ["updated_at", "2015-11-02 16:59:25.389354"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
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-02 20:28:05.897185"], ["updated_at", "2015-11-02 20:28:05.897185"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1332
1487
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1333
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1334
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1335
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1336
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1337
|
-
-----------------------------------------------------------------------------------------
|
1338
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0001_anonymous
|
1339
|
-
-----------------------------------------------------------------------------------------
|
1340
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1341
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1342
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1343
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1344
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff643046988 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151102-10740-1yeyh7g>>}}
|
1345
1488
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1346
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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-02 20:28:05.899687"], ["updated_at", "2015-11-02 20:28:05.899687"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1347
1490
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1348
|
-
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
1349
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1350
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1351
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1352
|
-
-----------------------------------------------------------------------------------------
|
1353
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0003_anonymous
|
1354
|
-
-----------------------------------------------------------------------------------------
|
1355
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1356
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1357
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1358
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1359
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff63efa5be0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151102-10740-1bg3diy>>}}
|
1360
1491
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1361
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1362
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1363
|
-
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1364
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1365
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1366
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1367
|
-
-----------------------------------------------
|
1368
|
-
PushType::WysiwygFieldTest: test_0005_anonymous
|
1369
|
-
-----------------------------------------------
|
1370
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1371
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1372
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1373
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1374
|
-
[1m[35mPushType::Node Exists (0.4ms)[0m SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-1' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1
|
1375
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-1"], ["status", 0], ["created_at", "2015-11-02 16:59:25.427874"], ["updated_at", "2015-11-02 16:59:25.427874"]]
|
1376
|
-
[1m[35m (0.2ms)[0m SELECT pg_try_advisory_lock(1213021721,0) AS t801899dee72f06a777849aa298bff1bd
|
1377
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3)[0m [["ancestor_id", "430780ed-95a0-4e7e-a7ae-724f1cca50e2"], ["descendant_id", "430780ed-95a0-4e7e-a7ae-724f1cca50e2"], ["generations", 0]]
|
1378
|
-
[1m[35m (0.5ms)[0m UPDATE "push_type_nodes"
|
1379
|
-
SET "sort_order" = t.seq + -1
|
1380
|
-
FROM (
|
1381
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
1382
|
-
FROM "push_type_nodes"
|
1383
|
-
WHERE "parent_id" IS NULL
|
1384
|
-
) AS t
|
1385
|
-
WHERE "push_type_nodes"."id" = t.id
|
1386
|
-
|
1387
|
-
[1m[36mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1[0m [["id", "430780ed-95a0-4e7e-a7ae-724f1cca50e2"]]
|
1388
|
-
[1m[35mPushType::Node Load (0.2ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "430780ed-95a0-4e7e-a7ae-724f1cca50e2"]]
|
1389
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_advisory_unlock(1213021721,0) AS tc1719b67dc9aad815e383f47a2e3dbc2[0m
|
1390
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1391
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1392
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1393
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1394
|
-
-----------------------------------------------
|
1395
|
-
PushType::WysiwygFieldTest: test_0002_anonymous
|
1396
|
-
-----------------------------------------------
|
1397
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1398
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1399
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1400
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1401
|
-
[1m[35mPushType::Node Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-2' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1
|
1402
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-2"], ["status", 0], ["created_at", "2015-11-02 16:59:25.452138"], ["updated_at", "2015-11-02 16:59:25.452138"]]
|
1403
|
-
[1m[35m (0.1ms)[0m SELECT pg_try_advisory_lock(1213021721,0) AS t400231ae7dd0eaede91ed4be7d30d5e4
|
1404
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3)[0m [["ancestor_id", "dac9480c-c304-4ed0-bca8-09a284893d32"], ["descendant_id", "dac9480c-c304-4ed0-bca8-09a284893d32"], ["generations", 0]]
|
1405
|
-
[1m[35m (0.3ms)[0m UPDATE "push_type_nodes"
|
1406
|
-
SET "sort_order" = t.seq + -1
|
1407
|
-
FROM (
|
1408
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
1409
|
-
FROM "push_type_nodes"
|
1410
|
-
WHERE "parent_id" IS NULL
|
1411
|
-
) AS t
|
1412
|
-
WHERE "push_type_nodes"."id" = t.id
|
1413
|
-
|
1414
|
-
[1m[36mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1[0m [["id", "dac9480c-c304-4ed0-bca8-09a284893d32"]]
|
1415
|
-
[1m[35mPushType::Node Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "dac9480c-c304-4ed0-bca8-09a284893d32"]]
|
1416
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_advisory_unlock(1213021721,0) AS t477e76e9eef52513206e50e3975dda64[0m
|
1417
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1418
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1419
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1420
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1421
|
-
-----------------------------------------------
|
1422
|
-
PushType::WysiwygFieldTest: test_0003_anonymous
|
1423
|
-
-----------------------------------------------
|
1424
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1425
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1426
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1427
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1428
|
-
[1m[35mPushType::Node Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-3' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1
|
1429
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-3"], ["status", 0], ["created_at", "2015-11-02 16:59:25.460337"], ["updated_at", "2015-11-02 16:59:25.460337"]]
|
1430
|
-
[1m[35m (0.1ms)[0m SELECT pg_try_advisory_lock(1213021721,0) AS t9c5851e18e5dfefe4bac022d359ff030
|
1431
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3)[0m [["ancestor_id", "46a5b22f-2489-449d-87f3-51bf301d0e28"], ["descendant_id", "46a5b22f-2489-449d-87f3-51bf301d0e28"], ["generations", 0]]
|
1432
|
-
[1m[35m (0.3ms)[0m UPDATE "push_type_nodes"
|
1433
|
-
SET "sort_order" = t.seq + -1
|
1434
|
-
FROM (
|
1435
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
1436
|
-
FROM "push_type_nodes"
|
1437
|
-
WHERE "parent_id" IS NULL
|
1438
|
-
) AS t
|
1439
|
-
WHERE "push_type_nodes"."id" = t.id
|
1440
|
-
|
1441
|
-
[1m[36mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1[0m [["id", "46a5b22f-2489-449d-87f3-51bf301d0e28"]]
|
1442
|
-
[1m[35mPushType::Node Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "46a5b22f-2489-449d-87f3-51bf301d0e28"]]
|
1443
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_advisory_unlock(1213021721,0) AS tdee8ee2c1efcd3c6d2693af23d2136ef[0m
|
1444
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1445
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1446
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1447
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1448
|
-
-----------------------------------------------
|
1449
|
-
PushType::WysiwygFieldTest: test_0001_anonymous
|
1450
|
-
-----------------------------------------------
|
1451
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1452
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1453
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1454
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1455
|
-
[1m[35mPushType::Node Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-4' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1
|
1456
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-4"], ["status", 0], ["created_at", "2015-11-02 16:59:25.469252"], ["updated_at", "2015-11-02 16:59:25.469252"]]
|
1457
|
-
[1m[35m (0.1ms)[0m SELECT pg_try_advisory_lock(1213021721,0) AS t4f630787bd1cc0a308c77df55bdfef98
|
1458
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3)[0m [["ancestor_id", "4c4e81b0-bbf0-4ff8-9632-4be83b6b5f62"], ["descendant_id", "4c4e81b0-bbf0-4ff8-9632-4be83b6b5f62"], ["generations", 0]]
|
1459
|
-
[1m[35m (0.3ms)[0m UPDATE "push_type_nodes"
|
1460
|
-
SET "sort_order" = t.seq + -1
|
1461
|
-
FROM (
|
1462
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
1463
|
-
FROM "push_type_nodes"
|
1464
|
-
WHERE "parent_id" IS NULL
|
1465
|
-
) AS t
|
1466
|
-
WHERE "push_type_nodes"."id" = t.id
|
1467
|
-
|
1468
|
-
[1m[36mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1[0m [["id", "4c4e81b0-bbf0-4ff8-9632-4be83b6b5f62"]]
|
1469
|
-
[1m[35mPushType::Node Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "4c4e81b0-bbf0-4ff8-9632-4be83b6b5f62"]]
|
1470
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_advisory_unlock(1213021721,0) AS t5187711aeb5c1b4169eb4a0501ccfc2b[0m
|
1471
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1472
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1473
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1474
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1475
|
-
-----------------------------------------------
|
1476
|
-
PushType::WysiwygFieldTest: test_0004_anonymous
|
1477
|
-
-----------------------------------------------
|
1478
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1479
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1480
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1481
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1482
|
-
[1m[35mPushType::Node Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-5' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1
|
1483
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-5"], ["status", 0], ["created_at", "2015-11-02 16:59:25.478174"], ["updated_at", "2015-11-02 16:59:25.478174"]]
|
1484
|
-
[1m[35m (0.1ms)[0m SELECT pg_try_advisory_lock(1213021721,0) AS t6132b7f18a86135ea9b4530b3e374698
|
1485
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3)[0m [["ancestor_id", "0cc503df-772f-4f93-b2aa-3ba864837580"], ["descendant_id", "0cc503df-772f-4f93-b2aa-3ba864837580"], ["generations", 0]]
|
1486
|
-
[1m[35m (0.3ms)[0m UPDATE "push_type_nodes"
|
1487
|
-
SET "sort_order" = t.seq + -1
|
1488
|
-
FROM (
|
1489
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
1490
|
-
FROM "push_type_nodes"
|
1491
|
-
WHERE "parent_id" IS NULL
|
1492
|
-
) AS t
|
1493
|
-
WHERE "push_type_nodes"."id" = t.id
|
1494
|
-
|
1495
|
-
[1m[36mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1[0m [["id", "0cc503df-772f-4f93-b2aa-3ba864837580"]]
|
1496
|
-
[1m[35mPushType::Node Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order [["parent_id", "0cc503df-772f-4f93-b2aa-3ba864837580"]]
|
1497
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_advisory_unlock(1213021721,0) AS ta7b60d77cc1b1f7bdfc24abecd2d8974[0m
|
1492
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-02 20:28:05.901918"], ["updated_at", "2015-11-02 20:28:05.901918"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1498
1493
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1494
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1495
|
+
Parameters: {"filter"=>"file"}
|
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 (0.3ms)[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 11ms (Views: 1.0ms | ActiveRecord: 0.5ms)
|
1499
1499
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1500
1500
|
[1m[35m (0.1ms)[0m ROLLBACK
|