push_type_wysiwyg 0.5.0.alpha.2 → 0.5.0.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150429164626_create_push_type_users.push_type.rb → 20150601132852_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150429164627_create_push_type_nodes.push_type.rb → 20150601132853_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150429164628_create_push_type_node_hierarchies.push_type.rb → 20150601132854_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150429164629_create_push_type_assets.push_type.rb → 20150601132855_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150429164630_create_push_type_taxonomies.push_type.rb → 20150601132856_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150429164631_create_push_type_taxonomy_hierarchies.push_type.rb → 20150601132857_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/20150601132858_add_field_store_default_values.push_type.rb +7 -0
- data/test/dummy/db/schema.rb +7 -7
- data/test/dummy/log/test.log +741 -729
- metadata +20 -18
data/test/dummy/log/test.log
CHANGED
@@ -1,44 +1,56 @@
|
|
1
|
-
[1m[36m (12.
|
2
|
-
[1m[35m (1.
|
1
|
+
[1m[36m (12.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreatePushTypeUsers (
|
4
|
+
Migrating to CreatePushTypeUsers (20150601132852)
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
6
|
-
[1m[36mSQL (1.
|
7
|
-
[1m[35m (2.
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
6
|
+
[1m[36mSQL (1.9ms)[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", "20150601132852"]]
|
9
9
|
[1m[35m (0.7ms)[0m COMMIT
|
10
|
-
Migrating to CreatePushTypeNodes (
|
10
|
+
Migrating to CreatePushTypeNodes (20150601132853)
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12
|
-
[1m[35m (
|
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.1ms)[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", "20150601132853"]]
|
14
|
+
[1m[35m (0.5ms)[0m COMMIT
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150601132854)
|
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.6ms)[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", "20150601132854"]]
|
21
|
+
[1m[35m (0.5ms)[0m COMMIT
|
22
|
+
Migrating to CreatePushTypeAssets (20150601132855)
|
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.0ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
|
25
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150601132855"]]
|
26
26
|
[1m[35m (0.5ms)[0m COMMIT
|
27
|
-
Migrating to CreatePushTypeTaxonomies (
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20150601132856)
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29
|
-
[1m[35m (1.
|
29
|
+
[1m[35m (1.8ms)[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", "
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150601132856"]]
|
32
32
|
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20150601132857)
|
34
34
|
[1m[35m (0.1ms)[0m BEGIN
|
35
|
-
[1m[36m (0.
|
36
|
-
[1m[35m (0.
|
37
|
-
[1m[36m (0.
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
39
|
-
[1m[36m (0.
|
40
|
-
|
41
|
-
[1m[
|
35
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) [0m
|
36
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
37
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")[0m
|
38
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150601132857"]]
|
39
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20150601132858)
|
41
|
+
[1m[35m (0.1ms)[0m BEGIN
|
42
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
|
43
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
44
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
45
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
|
46
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
47
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
48
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
49
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
|
50
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150601132858"]]
|
51
|
+
[1m[35m (0.4ms)[0m COMMIT
|
52
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53
|
+
[1m[35m (1.7ms)[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
|
42
54
|
FROM pg_constraint c
|
43
55
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
44
56
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -49,8 +61,8 @@ WHERE c.contype = 'f'
|
|
49
61
|
AND t1.relname = 'push_type_assets'
|
50
62
|
AND t3.nspname = ANY (current_schemas(false))
|
51
63
|
ORDER BY c.conname
|
52
|
-
|
53
|
-
[1m[
|
64
|
+
|
65
|
+
[1m[36m (1.5ms)[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
|
54
66
|
FROM pg_constraint c
|
55
67
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
56
68
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -61,8 +73,8 @@ WHERE c.contype = 'f'
|
|
61
73
|
AND t1.relname = 'push_type_node_hierarchies'
|
62
74
|
AND t3.nspname = ANY (current_schemas(false))
|
63
75
|
ORDER BY c.conname
|
64
|
-
|
65
|
-
[1m[
|
76
|
+
[0m
|
77
|
+
[1m[35m (1.5ms)[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
|
66
78
|
FROM pg_constraint c
|
67
79
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
68
80
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -73,8 +85,8 @@ WHERE c.contype = 'f'
|
|
73
85
|
AND t1.relname = 'push_type_nodes'
|
74
86
|
AND t3.nspname = ANY (current_schemas(false))
|
75
87
|
ORDER BY c.conname
|
76
|
-
|
77
|
-
[1m[
|
88
|
+
|
89
|
+
[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
|
78
90
|
FROM pg_constraint c
|
79
91
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
80
92
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -85,8 +97,8 @@ WHERE c.contype = 'f'
|
|
85
97
|
AND t1.relname = 'push_type_taxonomies'
|
86
98
|
AND t3.nspname = ANY (current_schemas(false))
|
87
99
|
ORDER BY c.conname
|
88
|
-
|
89
|
-
[1m[
|
100
|
+
[0m
|
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
|
90
102
|
FROM pg_constraint c
|
91
103
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
92
104
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -97,8 +109,8 @@ WHERE c.contype = 'f'
|
|
97
109
|
AND t1.relname = 'push_type_taxonomy_hierarchies'
|
98
110
|
AND t3.nspname = ANY (current_schemas(false))
|
99
111
|
ORDER BY c.conname
|
100
|
-
|
101
|
-
[1m[
|
112
|
+
|
113
|
+
[1m[36m (1.3ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
102
114
|
FROM pg_constraint c
|
103
115
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
104
116
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -109,1242 +121,1242 @@ WHERE c.contype = 'f'
|
|
109
121
|
AND t1.relname = 'push_type_users'
|
110
122
|
AND t3.nspname = ANY (current_schemas(false))
|
111
123
|
ORDER BY c.conname
|
112
|
-
|
113
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
114
|
-
[1m[35m (0.
|
115
|
-
[1m[36m (
|
124
|
+
[0m
|
125
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
126
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL
|
127
|
+
[1m[36m (0.9ms)[0m [1m SELECT schemaname || '.' || tablename
|
116
128
|
FROM pg_tables
|
117
129
|
WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))
|
118
130
|
[0m
|
119
131
|
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
120
|
-
[1m[36m (10.
|
132
|
+
[1m[36m (10.8ms)[0m [1mTRUNCATE TABLE "public"."schema_migrations", "public"."push_type_users", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies" RESTART IDENTITY CASCADE;[0m
|
121
133
|
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
|
122
134
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
123
|
-
|
124
|
-
PushType::
|
125
|
-
|
135
|
+
---------------------------------------------------------------------------------------
|
136
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0001_anonymous
|
137
|
+
---------------------------------------------------------------------------------------
|
126
138
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
127
139
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
128
140
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
129
141
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
130
|
-
[1m[35mSQL (0.
|
142
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:57.828751"], ["updated_at", "2015-06-01 13:28:57.828751"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
131
143
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
132
144
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
133
|
-
[1m[36mSQL (0.
|
145
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-06-01 13:28:57.834360"], ["updated_at", "2015-06-01 13:28:57.834360"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
134
146
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
135
147
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
136
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
148
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "3"], ["created_at", "2015-06-01 13:28:57.836813"], ["updated_at", "2015-06-01 13:28:57.836813"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
137
149
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
138
150
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
139
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
140
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
141
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
142
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
143
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
144
|
-
[1m[35m (0.1ms)[0m BEGIN
|
145
|
-
-----------------------------------------------------------------------
|
146
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
147
|
-
-----------------------------------------------------------------------
|
148
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
149
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
150
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
151
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
152
|
-
[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", "5"], ["created_at", "2015-04-29 16:46:31.849887"], ["updated_at", "2015-04-29 16:46:31.849887"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
151
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015-06-01 13:28:57.838829"], ["updated_at", "2015-06-01 13:28:57.838829"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
153
152
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
154
153
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
155
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
154
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "5"], ["created_at", "2015-06-01 13:28:57.840868"], ["updated_at", "2015-06-01 13:28:57.840868"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
156
155
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
157
156
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
158
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
157
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "6"], ["created_at", "2015-06-01 13:28:57.843171"], ["updated_at", "2015-06-01 13:28:57.843171"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
159
158
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
160
159
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
161
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
160
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "7"], ["created_at", "2015-06-01 13:28:57.845287"], ["updated_at", "2015-06-01 13:28:57.845287"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
162
161
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
163
|
-
[1m[35m (0.
|
164
|
-
[1m[
|
165
|
-
[1m[35m (0.1ms)[0m
|
166
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
167
|
-
-----------------------------------------------------------------------
|
168
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0005_anonymous
|
169
|
-
-----------------------------------------------------------------------
|
170
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
171
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
172
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
162
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
163
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "8"], ["created_at", "2015-06-01 13:28:57.847723"], ["updated_at", "2015-06-01 13:28:57.847723"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
164
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
173
165
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
174
|
-
[1m[35mSQL (0.
|
166
|
+
[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", "9"], ["created_at", "2015-06-01 13:28:57.850372"], ["updated_at", "2015-06-01 13:28:57.850372"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
175
167
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
176
168
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
177
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
169
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "10"], ["created_at", "2015-06-01 13:28:57.852914"], ["updated_at", "2015-06-01 13:28:57.852914"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
178
170
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
179
171
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
180
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
172
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "11"], ["created_at", "2015-06-01 13:28:57.855214"], ["updated_at", "2015-06-01 13:28:57.855214"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
181
173
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
182
174
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
183
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
175
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "12"], ["created_at", "2015-06-01 13:28:57.857479"], ["updated_at", "2015-06-01 13:28:57.857479"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
184
176
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
185
|
-
[1m[36m (0.
|
186
|
-
[1m[
|
187
|
-
[1m[36m (0.1ms)[0m [
|
188
|
-
[1m[35m (0.1ms)[0m BEGIN
|
189
|
-
-----------------------------------------------------------------------
|
190
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
191
|
-
-----------------------------------------------------------------------
|
192
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
193
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
194
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
177
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
178
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "13"], ["created_at", "2015-06-01 13:28:57.859560"], ["updated_at", "2015-06-01 13:28:57.859560"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
179
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
195
180
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
196
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
181
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "14"], ["created_at", "2015-06-01 13:28:57.861603"], ["updated_at", "2015-06-01 13:28:57.861603"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
197
182
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
198
183
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
199
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
184
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "15"], ["created_at", "2015-06-01 13:28:57.863832"], ["updated_at", "2015-06-01 13:28:57.863832"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
200
185
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
201
186
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
202
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
187
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "16"], ["created_at", "2015-06-01 13:28:57.866142"], ["updated_at", "2015-06-01 13:28:57.866142"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
203
188
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
204
189
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
205
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
190
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "17"], ["created_at", "2015-06-01 13:28:57.868534"], ["updated_at", "2015-06-01 13:28:57.868534"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
206
191
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
207
|
-
[1m[35m (0.1ms)[0m
|
192
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
193
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "18"], ["created_at", "2015-06-01 13:28:57.870746"], ["updated_at", "2015-06-01 13:28:57.870746"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
194
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
195
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
196
|
+
Parameters: {"filter"=>"image"}
|
197
|
+
[1m[36mPushType::Asset Load (0.6ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
198
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
199
|
+
Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 0.9ms)
|
208
200
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
209
201
|
[1m[35m (0.1ms)[0m ROLLBACK
|
210
202
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
211
|
-
|
212
|
-
PushType::
|
213
|
-
|
214
|
-
[1m[35m (0.
|
203
|
+
---------------------------------------------------------------------------------------
|
204
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0002_anonymous
|
205
|
+
---------------------------------------------------------------------------------------
|
206
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
215
207
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
216
|
-
[1m[35m (0.
|
217
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
218
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-29 16:46:31.883618"], ["updated_at", "2015-04-29 16:46:31.883618"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
219
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
220
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
221
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-29 16:46:31.885861"], ["updated_at", "2015-04-29 16:46:31.885861"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
222
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
208
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
223
209
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
224
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "19"], ["created_at", "2015-
|
210
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:57.890817"], ["updated_at", "2015-06-01 13:28:57.890817"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
225
211
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
226
212
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
227
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
228
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
229
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
230
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
231
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
232
|
-
[1m[35m (0.1ms)[0m BEGIN
|
233
|
-
----------------------------------------------------------------------------------
|
234
|
-
PushType::WysiwygMediaController::GET #index::with pagination: test_0001_anonymous
|
235
|
-
----------------------------------------------------------------------------------
|
236
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
237
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
238
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
239
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
240
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "21"], ["created_at", "2015-04-29 16:46:31.895068"], ["updated_at", "2015-04-29 16:46:31.895068"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
213
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:57.893043"], ["updated_at", "2015-06-01 13:28:57.893043"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
241
214
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
242
215
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
243
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:57.895138"], ["updated_at", "2015-06-01 13:28:57.895138"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
244
217
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
245
218
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
246
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
219
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "22"], ["created_at", "2015-06-01 13:28:57.897302"], ["updated_at", "2015-06-01 13:28:57.897302"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
247
220
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
248
221
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
249
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
222
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "23"], ["created_at", "2015-06-01 13:28:57.899460"], ["updated_at", "2015-06-01 13:28:57.899460"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
250
223
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
251
224
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
252
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
225
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "24"], ["created_at", "2015-06-01 13:28:57.901889"], ["updated_at", "2015-06-01 13:28:57.901889"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
253
226
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
254
227
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
255
|
-
[1m[35mSQL (0.
|
228
|
+
[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", "25"], ["created_at", "2015-06-01 13:28:57.931140"], ["updated_at", "2015-06-01 13:28:57.931140"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
256
229
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
257
230
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
258
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "26"], ["created_at", "2015-06-01 13:28:57.933744"], ["updated_at", "2015-06-01 13:28:57.933744"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
259
232
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
260
233
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
261
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "27"], ["created_at", "2015-06-01 13:28:57.936050"], ["updated_at", "2015-06-01 13:28:57.936050"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
262
235
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
263
236
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
264
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "28"], ["created_at", "2015-06-01 13:28:57.938230"], ["updated_at", "2015-06-01 13:28:57.938230"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
265
238
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
266
239
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
240
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "29"], ["created_at", "2015-06-01 13:28:57.940334"], ["updated_at", "2015-06-01 13:28:57.940334"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
268
241
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
269
242
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
270
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "30"], ["created_at", "2015-06-01 13:28:57.942763"], ["updated_at", "2015-06-01 13:28:57.942763"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
271
244
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
272
245
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
273
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "31"], ["created_at", "2015-06-01 13:28:57.945168"], ["updated_at", "2015-06-01 13:28:57.945168"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
274
247
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
275
248
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
276
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "32"], ["created_at", "2015-06-01 13:28:57.947850"], ["updated_at", "2015-06-01 13:28:57.947850"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
277
250
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
278
251
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
279
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
252
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "33"], ["created_at", "2015-06-01 13:28:57.950128"], ["updated_at", "2015-06-01 13:28:57.950128"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
280
253
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
281
254
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
282
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "34"], ["created_at", "2015-06-01 13:28:57.952296"], ["updated_at", "2015-06-01 13:28:57.952296"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
283
256
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
284
257
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
285
|
-
[1m[35mSQL (0.
|
258
|
+
[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", "35"], ["created_at", "2015-06-01 13:28:57.954675"], ["updated_at", "2015-06-01 13:28:57.954675"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
286
259
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
287
260
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
288
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2015-06-01 13:28:57.957039"], ["updated_at", "2015-06-01 13:28:57.957039"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
289
262
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
263
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
264
|
+
Parameters: {"filter"=>"image"}
|
265
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
266
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
267
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
268
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
269
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
270
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
271
|
+
---------------------------------------------------------------------------------------
|
272
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0003_anonymous
|
273
|
+
---------------------------------------------------------------------------------------
|
274
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
275
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
276
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
290
277
|
[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", "
|
278
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "37"], ["created_at", "2015-06-01 13:28:57.966034"], ["updated_at", "2015-06-01 13:28:57.966034"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
292
279
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
293
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
294
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
295
|
-
[1m[35mPushType::Asset Load (0.6ms)[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
|
296
|
-
[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
|
297
|
-
Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.9ms)
|
298
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
299
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
300
|
-
[1m[35m (0.1ms)[0m BEGIN
|
301
|
-
----------------------------------------------------------------------------------
|
302
|
-
PushType::WysiwygMediaController::GET #index::with pagination: test_0003_anonymous
|
303
|
-
----------------------------------------------------------------------------------
|
304
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
305
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
306
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
307
280
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
308
|
-
[1m[36mSQL (0.
|
281
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "38"], ["created_at", "2015-06-01 13:28:57.968350"], ["updated_at", "2015-06-01 13:28:57.968350"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
309
282
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
310
283
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
311
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "39"], ["created_at", "2015-06-01 13:28:57.970655"], ["updated_at", "2015-06-01 13:28:57.970655"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
312
285
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
313
286
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
314
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
287
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "40"], ["created_at", "2015-06-01 13:28:57.972694"], ["updated_at", "2015-06-01 13:28:57.972694"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
315
288
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
316
289
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
317
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
290
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "41"], ["created_at", "2015-06-01 13:28:57.974846"], ["updated_at", "2015-06-01 13:28:57.974846"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
318
291
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
319
292
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
320
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
293
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "42"], ["created_at", "2015-06-01 13:28:57.977048"], ["updated_at", "2015-06-01 13:28:57.977048"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
321
294
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
322
295
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
323
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
296
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "43"], ["created_at", "2015-06-01 13:28:57.979293"], ["updated_at", "2015-06-01 13:28:57.979293"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
324
297
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
325
298
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
326
|
-
[1m[36mSQL (0.
|
299
|
+
[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", "44"], ["created_at", "2015-06-01 13:28:57.982120"], ["updated_at", "2015-06-01 13:28:57.982120"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
327
300
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
328
301
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
329
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
302
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "45"], ["created_at", "2015-06-01 13:28:57.985021"], ["updated_at", "2015-06-01 13:28:57.985021"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
330
303
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
331
304
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
332
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
305
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "46"], ["created_at", "2015-06-01 13:28:57.987585"], ["updated_at", "2015-06-01 13:28:57.987585"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
333
306
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
334
307
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
335
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
308
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "47"], ["created_at", "2015-06-01 13:28:57.989766"], ["updated_at", "2015-06-01 13:28:57.989766"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
336
309
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
337
310
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
338
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
311
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "48"], ["created_at", "2015-06-01 13:28:57.991931"], ["updated_at", "2015-06-01 13:28:57.991931"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
339
312
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
340
313
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
341
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
314
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "49"], ["created_at", "2015-06-01 13:28:57.994088"], ["updated_at", "2015-06-01 13:28:57.994088"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
342
315
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
343
316
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
317
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "50"], ["created_at", "2015-06-01 13:28:57.996337"], ["updated_at", "2015-06-01 13:28:57.996337"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
345
318
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
346
319
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
320
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "51"], ["created_at", "2015-06-01 13:28:57.998992"], ["updated_at", "2015-06-01 13:28:57.998992"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
348
321
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
349
322
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
350
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
323
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "52"], ["created_at", "2015-06-01 13:28:58.001388"], ["updated_at", "2015-06-01 13:28:58.001388"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
351
324
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
352
325
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
326
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "53"], ["created_at", "2015-06-01 13:28:58.003613"], ["updated_at", "2015-06-01 13:28:58.003613"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
354
327
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
355
328
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
329
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015-06-01 13:28:58.005757"], ["updated_at", "2015-06-01 13:28:58.005757"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
357
330
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
331
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
332
|
+
Parameters: {"filter"=>"image"}
|
333
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
334
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
335
|
+
Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
336
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
337
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
338
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
339
|
+
---------------------------------------------------------------------------------------
|
340
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0004_anonymous
|
341
|
+
---------------------------------------------------------------------------------------
|
342
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
343
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
344
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
358
345
|
[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", "
|
346
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "55"], ["created_at", "2015-06-01 13:28:58.016253"], ["updated_at", "2015-06-01 13:28:58.016253"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
360
347
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
361
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
362
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
363
|
-
[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
|
364
|
-
[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
|
365
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
366
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
367
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
368
|
-
[1m[35m (0.1ms)[0m BEGIN
|
369
|
-
----------------------------------------------------------------------------------
|
370
|
-
PushType::WysiwygMediaController::GET #index::with pagination: test_0002_anonymous
|
371
|
-
----------------------------------------------------------------------------------
|
372
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
373
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
374
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
375
348
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
376
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
349
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "56"], ["created_at", "2015-06-01 13:28:58.018646"], ["updated_at", "2015-06-01 13:28:58.018646"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
377
350
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
378
351
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
379
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
352
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "57"], ["created_at", "2015-06-01 13:28:58.021251"], ["updated_at", "2015-06-01 13:28:58.021251"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
380
353
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
381
354
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
382
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
355
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "58"], ["created_at", "2015-06-01 13:28:58.023493"], ["updated_at", "2015-06-01 13:28:58.023493"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
383
356
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
384
357
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
385
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
358
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "59"], ["created_at", "2015-06-01 13:28:58.025615"], ["updated_at", "2015-06-01 13:28:58.025615"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
386
359
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
387
360
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "
|
361
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "60"], ["created_at", "2015-06-01 13:28:58.027743"], ["updated_at", "2015-06-01 13:28:58.027743"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
389
362
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
390
363
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
364
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "61"], ["created_at", "2015-06-01 13:28:58.029887"], ["updated_at", "2015-06-01 13:28:58.029887"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
392
365
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
393
366
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
367
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "62"], ["created_at", "2015-06-01 13:28:58.032170"], ["updated_at", "2015-06-01 13:28:58.032170"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
395
368
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
396
369
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
370
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "63"], ["created_at", "2015-06-01 13:28:58.034639"], ["updated_at", "2015-06-01 13:28:58.034639"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
398
371
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
399
372
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
400
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
373
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015-06-01 13:28:58.036829"], ["updated_at", "2015-06-01 13:28:58.036829"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
401
374
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
402
375
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
403
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
376
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "65"], ["created_at", "2015-06-01 13:28:58.038911"], ["updated_at", "2015-06-01 13:28:58.038911"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
404
377
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
405
378
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
406
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
379
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "66"], ["created_at", "2015-06-01 13:28:58.041131"], ["updated_at", "2015-06-01 13:28:58.041131"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
407
380
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
408
381
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
409
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
382
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "67"], ["created_at", "2015-06-01 13:28:58.043528"], ["updated_at", "2015-06-01 13:28:58.043528"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
410
383
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
411
384
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
412
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
385
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "68"], ["created_at", "2015-06-01 13:28:58.045938"], ["updated_at", "2015-06-01 13:28:58.045938"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
413
386
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
414
387
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
415
|
-
[1m[35mSQL (0.
|
388
|
+
[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", "69"], ["created_at", "2015-06-01 13:28:58.048143"], ["updated_at", "2015-06-01 13:28:58.048143"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
416
389
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
417
390
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
418
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
391
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "70"], ["created_at", "2015-06-01 13:28:58.051176"], ["updated_at", "2015-06-01 13:28:58.051176"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
419
392
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
420
393
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
421
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
394
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "71"], ["created_at", "2015-06-01 13:28:58.053935"], ["updated_at", "2015-06-01 13:28:58.053935"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
422
395
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
423
396
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
397
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2015-06-01 13:28:58.056565"], ["updated_at", "2015-06-01 13:28:58.056565"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
425
398
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
426
|
-
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "74"], ["created_at", "2015-04-29 16:46:32.102717"], ["updated_at", "2015-04-29 16:46:32.102717"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
428
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
429
399
|
Processing by PushType::WysiwygMediaController#index as JSON
|
430
|
-
Parameters: {"filter"=>"
|
431
|
-
[1m[
|
432
|
-
[1m[
|
433
|
-
Completed 200 OK in
|
434
|
-
[1m[
|
435
|
-
[1m[
|
436
|
-
[1m[
|
400
|
+
Parameters: {"filter"=>"image"}
|
401
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
402
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
403
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
404
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
405
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
406
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
437
407
|
----------------------------------------------------------------------------------
|
438
408
|
PushType::WysiwygMediaController::GET #index::with pagination: test_0004_anonymous
|
439
409
|
----------------------------------------------------------------------------------
|
440
|
-
[1m[
|
441
|
-
[1m[
|
442
|
-
[1m[
|
443
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
444
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "75"], ["created_at", "2015-04-29 16:46:32.110611"], ["updated_at", "2015-04-29 16:46:32.110611"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
445
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
410
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
411
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
412
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
446
413
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
447
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
414
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "73"], ["created_at", "2015-06-01 13:28:58.066910"], ["updated_at", "2015-06-01 13:28:58.066910"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
448
415
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
449
416
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
450
|
-
[1m[36mSQL (0.
|
417
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "74"], ["created_at", "2015-06-01 13:28:58.069230"], ["updated_at", "2015-06-01 13:28:58.069230"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
451
418
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
452
419
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
453
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
420
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "75"], ["created_at", "2015-06-01 13:28:58.071535"], ["updated_at", "2015-06-01 13:28:58.071535"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
454
421
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
455
422
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
456
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
423
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "76"], ["created_at", "2015-06-01 13:28:58.073696"], ["updated_at", "2015-06-01 13:28:58.073696"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
457
424
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
458
425
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
459
|
-
[1m[35mSQL (0.
|
426
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "77"], ["created_at", "2015-06-01 13:28:58.075850"], ["updated_at", "2015-06-01 13:28:58.075850"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
460
427
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
461
428
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
462
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
429
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "78"], ["created_at", "2015-06-01 13:28:58.078330"], ["updated_at", "2015-06-01 13:28:58.078330"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
463
430
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
464
431
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
465
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
432
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "79"], ["created_at", "2015-06-01 13:28:58.080496"], ["updated_at", "2015-06-01 13:28:58.080496"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
466
433
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
467
434
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
468
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
435
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "80"], ["created_at", "2015-06-01 13:28:58.082668"], ["updated_at", "2015-06-01 13:28:58.082668"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
469
436
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
470
437
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
471
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
438
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "81"], ["created_at", "2015-06-01 13:28:58.084759"], ["updated_at", "2015-06-01 13:28:58.084759"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
472
439
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
473
440
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
474
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
441
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "82"], ["created_at", "2015-06-01 13:28:58.086940"], ["updated_at", "2015-06-01 13:28:58.086940"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
475
442
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
476
443
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
477
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
444
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "83"], ["created_at", "2015-06-01 13:28:58.089154"], ["updated_at", "2015-06-01 13:28:58.089154"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
478
445
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
479
446
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
480
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
447
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "84"], ["created_at", "2015-06-01 13:28:58.091255"], ["updated_at", "2015-06-01 13:28:58.091255"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
481
448
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
482
449
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
483
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
450
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "85"], ["created_at", "2015-06-01 13:28:58.093295"], ["updated_at", "2015-06-01 13:28:58.093295"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
484
451
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
485
452
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
486
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
453
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "86"], ["created_at", "2015-06-01 13:28:58.095263"], ["updated_at", "2015-06-01 13:28:58.095263"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
487
454
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
488
455
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
489
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
456
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "87"], ["created_at", "2015-06-01 13:28:58.097292"], ["updated_at", "2015-06-01 13:28:58.097292"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
490
457
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
491
458
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
459
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "88"], ["created_at", "2015-06-01 13:28:58.099488"], ["updated_at", "2015-06-01 13:28:58.099488"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
493
460
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
494
461
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
462
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "89"], ["created_at", "2015-06-01 13:28:58.101708"], ["updated_at", "2015-06-01 13:28:58.101708"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
496
463
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
497
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
498
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
499
|
-
[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
|
500
|
-
[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
|
501
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
502
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
503
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
504
|
-
[1m[35m (0.1ms)[0m BEGIN
|
505
|
-
---------------------------------------------------------------------------------------
|
506
|
-
PushType::WysiwygMediaController::GET #index::filtering for images: test_0001_anonymous
|
507
|
-
---------------------------------------------------------------------------------------
|
508
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
509
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
510
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
511
464
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
512
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
465
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "90"], ["created_at", "2015-06-01 13:28:58.103808"], ["updated_at", "2015-06-01 13:28:58.103808"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
513
466
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
467
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
468
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
469
|
+
[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
|
470
|
+
[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/%')
|
471
|
+
Completed 200 OK in 77ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
472
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
473
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
474
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
475
|
+
----------------------------------------------------------------------------------
|
476
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0002_anonymous
|
477
|
+
----------------------------------------------------------------------------------
|
478
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
479
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
480
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
514
481
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
515
|
-
[1m[35mSQL (0.
|
482
|
+
[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", "91"], ["created_at", "2015-06-01 13:28:58.186959"], ["updated_at", "2015-06-01 13:28:58.186959"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
516
483
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
517
484
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
518
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
485
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "92"], ["created_at", "2015-06-01 13:28:58.189502"], ["updated_at", "2015-06-01 13:28:58.189502"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
519
486
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
520
487
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
521
|
-
[1m[35mSQL (0.
|
488
|
+
[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", "93"], ["created_at", "2015-06-01 13:28:58.191789"], ["updated_at", "2015-06-01 13:28:58.191789"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
522
489
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
523
490
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
524
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
491
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "94"], ["created_at", "2015-06-01 13:28:58.194098"], ["updated_at", "2015-06-01 13:28:58.194098"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
525
492
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
526
493
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
527
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
494
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "95"], ["created_at", "2015-06-01 13:28:58.196206"], ["updated_at", "2015-06-01 13:28:58.196206"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
528
495
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
529
496
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
530
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
497
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "96"], ["created_at", "2015-06-01 13:28:58.198311"], ["updated_at", "2015-06-01 13:28:58.198311"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
531
498
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
532
499
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
533
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
500
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "97"], ["created_at", "2015-06-01 13:28:58.200347"], ["updated_at", "2015-06-01 13:28:58.200347"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
534
501
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
535
502
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
536
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
503
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "98"], ["created_at", "2015-06-01 13:28:58.202540"], ["updated_at", "2015-06-01 13:28:58.202540"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
537
504
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
538
505
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
539
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
506
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "99"], ["created_at", "2015-06-01 13:28:58.204721"], ["updated_at", "2015-06-01 13:28:58.204721"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
540
507
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
541
508
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
542
|
-
[1m[36mSQL (0.
|
509
|
+
[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", "100"], ["created_at", "2015-06-01 13:28:58.207120"], ["updated_at", "2015-06-01 13:28:58.207120"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
543
510
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
544
511
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
545
|
-
[1m[35mSQL (0.
|
512
|
+
[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", "101"], ["created_at", "2015-06-01 13:28:58.210127"], ["updated_at", "2015-06-01 13:28:58.210127"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
546
513
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
547
514
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
548
|
-
[1m[36mSQL (0.
|
515
|
+
[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", "102"], ["created_at", "2015-06-01 13:28:58.213112"], ["updated_at", "2015-06-01 13:28:58.213112"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
549
516
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
550
517
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
551
|
-
[1m[35mSQL (0.
|
518
|
+
[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", "103"], ["created_at", "2015-06-01 13:28:58.216368"], ["updated_at", "2015-06-01 13:28:58.216368"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
552
519
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
553
520
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
554
|
-
[1m[36mSQL (0.
|
521
|
+
[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", "104"], ["created_at", "2015-06-01 13:28:58.219481"], ["updated_at", "2015-06-01 13:28:58.219481"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
555
522
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
556
523
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
557
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
524
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "105"], ["created_at", "2015-06-01 13:28:58.222484"], ["updated_at", "2015-06-01 13:28:58.222484"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
558
525
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
559
526
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
527
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "106"], ["created_at", "2015-06-01 13:28:58.225068"], ["updated_at", "2015-06-01 13:28:58.225068"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
561
528
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
562
529
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
564
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
565
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
566
|
-
Parameters: {"filter"=>"image"}
|
567
|
-
[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
|
568
|
-
[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
|
569
|
-
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
570
|
-
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
571
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
572
|
-
[1m[35m (0.1ms)[0m BEGIN
|
573
|
-
---------------------------------------------------------------------------------------
|
574
|
-
PushType::WysiwygMediaController::GET #index::filtering for images: test_0002_anonymous
|
575
|
-
---------------------------------------------------------------------------------------
|
576
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
577
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
578
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
579
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
580
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "111"], ["created_at", "2015-04-29 16:46:32.218904"], ["updated_at", "2015-04-29 16:46:32.218904"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
581
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
582
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
583
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "112"], ["created_at", "2015-04-29 16:46:32.221425"], ["updated_at", "2015-04-29 16:46:32.221425"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
530
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "107"], ["created_at", "2015-06-01 13:28:58.227651"], ["updated_at", "2015-06-01 13:28:58.227651"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
584
531
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
585
532
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
586
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
533
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "108"], ["created_at", "2015-06-01 13:28:58.230148"], ["updated_at", "2015-06-01 13:28:58.230148"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
587
534
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
535
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
536
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
537
|
+
[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
|
538
|
+
[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/%')
|
539
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
540
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
541
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
542
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
543
|
+
----------------------------------------------------------------------------------
|
544
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0003_anonymous
|
545
|
+
----------------------------------------------------------------------------------
|
546
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
547
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
548
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
588
549
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
589
|
-
[1m[35mSQL (0.
|
550
|
+
[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", "109"], ["created_at", "2015-06-01 13:28:58.240017"], ["updated_at", "2015-06-01 13:28:58.240017"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
590
551
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
591
552
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
592
|
-
[1m[36mSQL (0.
|
553
|
+
[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", "110"], ["created_at", "2015-06-01 13:28:58.258378"], ["updated_at", "2015-06-01 13:28:58.258378"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
593
554
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
594
555
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
595
|
-
[1m[35mSQL (0.
|
556
|
+
[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", "111"], ["created_at", "2015-06-01 13:28:58.261560"], ["updated_at", "2015-06-01 13:28:58.261560"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
596
557
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
597
558
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
598
|
-
[1m[36mSQL (0.
|
559
|
+
[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", "112"], ["created_at", "2015-06-01 13:28:58.282071"], ["updated_at", "2015-06-01 13:28:58.282071"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
599
560
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
600
561
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
601
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
562
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "113"], ["created_at", "2015-06-01 13:28:58.285271"], ["updated_at", "2015-06-01 13:28:58.285271"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
602
563
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
603
564
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
604
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
565
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "114"], ["created_at", "2015-06-01 13:28:58.287563"], ["updated_at", "2015-06-01 13:28:58.287563"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
605
566
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
606
567
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
607
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
568
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "115"], ["created_at", "2015-06-01 13:28:58.289835"], ["updated_at", "2015-06-01 13:28:58.289835"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
608
569
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
609
570
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
610
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
571
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "116"], ["created_at", "2015-06-01 13:28:58.292442"], ["updated_at", "2015-06-01 13:28:58.292442"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
611
572
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
612
573
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
613
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
574
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "117"], ["created_at", "2015-06-01 13:28:58.295195"], ["updated_at", "2015-06-01 13:28:58.295195"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
614
575
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
615
576
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
616
|
-
[1m[36mSQL (0.
|
577
|
+
[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", "118"], ["created_at", "2015-06-01 13:28:58.309691"], ["updated_at", "2015-06-01 13:28:58.309691"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
617
578
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
618
579
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
619
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
580
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "119"], ["created_at", "2015-06-01 13:28:58.312712"], ["updated_at", "2015-06-01 13:28:58.312712"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
620
581
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
621
582
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
622
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
583
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "120"], ["created_at", "2015-06-01 13:28:58.315460"], ["updated_at", "2015-06-01 13:28:58.315460"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
623
584
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
624
585
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
625
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
586
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "121"], ["created_at", "2015-06-01 13:28:58.317528"], ["updated_at", "2015-06-01 13:28:58.317528"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
626
587
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
627
588
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
628
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
589
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "122"], ["created_at", "2015-06-01 13:28:58.319632"], ["updated_at", "2015-06-01 13:28:58.319632"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
629
590
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
630
591
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
631
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
592
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "123"], ["created_at", "2015-06-01 13:28:58.322357"], ["updated_at", "2015-06-01 13:28:58.322357"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
632
593
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
633
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
634
|
-
Parameters: {"filter"=>"image"}
|
635
|
-
[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
|
636
|
-
[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
|
637
|
-
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
638
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
639
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
640
|
-
[1m[35m (0.1ms)[0m BEGIN
|
641
|
-
---------------------------------------------------------------------------------------
|
642
|
-
PushType::WysiwygMediaController::GET #index::filtering for images: test_0004_anonymous
|
643
|
-
---------------------------------------------------------------------------------------
|
644
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
645
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
646
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
647
594
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
648
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
595
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "124"], ["created_at", "2015-06-01 13:28:58.324474"], ["updated_at", "2015-06-01 13:28:58.324474"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
649
596
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
650
597
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
651
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
598
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "125"], ["created_at", "2015-06-01 13:28:58.326566"], ["updated_at", "2015-06-01 13:28:58.326566"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
652
599
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
653
600
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
654
|
-
[1m[36mSQL (0.
|
601
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "126"], ["created_at", "2015-06-01 13:28:58.328835"], ["updated_at", "2015-06-01 13:28:58.328835"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
655
602
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
603
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
604
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
605
|
+
[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
|
606
|
+
[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/%')
|
607
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
608
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
609
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
610
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
611
|
+
----------------------------------------------------------------------------------
|
612
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0001_anonymous
|
613
|
+
----------------------------------------------------------------------------------
|
614
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
615
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
616
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
656
617
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
657
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
618
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "127"], ["created_at", "2015-06-01 13:28:58.336950"], ["updated_at", "2015-06-01 13:28:58.336950"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
658
619
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
659
620
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
660
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
621
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "128"], ["created_at", "2015-06-01 13:28:58.339040"], ["updated_at", "2015-06-01 13:28:58.339040"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
661
622
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
662
623
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
663
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
624
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "129"], ["created_at", "2015-06-01 13:28:58.341066"], ["updated_at", "2015-06-01 13:28:58.341066"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
664
625
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
665
626
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
666
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
627
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "130"], ["created_at", "2015-06-01 13:28:58.343217"], ["updated_at", "2015-06-01 13:28:58.343217"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
667
628
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
668
629
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
669
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
630
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "131"], ["created_at", "2015-06-01 13:28:58.345252"], ["updated_at", "2015-06-01 13:28:58.345252"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
670
631
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
671
632
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
672
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
633
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "132"], ["created_at", "2015-06-01 13:28:58.347560"], ["updated_at", "2015-06-01 13:28:58.347560"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
673
634
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
674
635
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
675
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
636
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "133"], ["created_at", "2015-06-01 13:28:58.349746"], ["updated_at", "2015-06-01 13:28:58.349746"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
676
637
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
677
638
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
678
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
639
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "134"], ["created_at", "2015-06-01 13:28:58.351800"], ["updated_at", "2015-06-01 13:28:58.351800"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
679
640
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
680
641
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
681
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
642
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "135"], ["created_at", "2015-06-01 13:28:58.353983"], ["updated_at", "2015-06-01 13:28:58.353983"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
682
643
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
683
644
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
684
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
645
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "136"], ["created_at", "2015-06-01 13:28:58.356001"], ["updated_at", "2015-06-01 13:28:58.356001"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
685
646
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
686
647
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
687
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
648
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "137"], ["created_at", "2015-06-01 13:28:58.358269"], ["updated_at", "2015-06-01 13:28:58.358269"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
688
649
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
689
650
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
690
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
651
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "138"], ["created_at", "2015-06-01 13:28:58.360463"], ["updated_at", "2015-06-01 13:28:58.360463"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
691
652
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
692
653
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
693
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
654
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "139"], ["created_at", "2015-06-01 13:28:58.362843"], ["updated_at", "2015-06-01 13:28:58.362843"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
694
655
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
695
656
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
696
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
657
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "140"], ["created_at", "2015-06-01 13:28:58.365341"], ["updated_at", "2015-06-01 13:28:58.365341"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
697
658
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
698
659
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
699
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
660
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "141"], ["created_at", "2015-06-01 13:28:58.367491"], ["updated_at", "2015-06-01 13:28:58.367491"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
700
661
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
701
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
702
|
-
Parameters: {"filter"=>"image"}
|
703
|
-
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
704
|
-
[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
|
705
|
-
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
706
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
707
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
708
|
-
[1m[35m (0.1ms)[0m BEGIN
|
709
|
-
---------------------------------------------------------------------------------------
|
710
|
-
PushType::WysiwygMediaController::GET #index::filtering for images: test_0003_anonymous
|
711
|
-
---------------------------------------------------------------------------------------
|
712
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
713
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
714
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
715
662
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
716
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
663
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "142"], ["created_at", "2015-06-01 13:28:58.369920"], ["updated_at", "2015-06-01 13:28:58.369920"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
717
664
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
718
665
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
719
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
666
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "143"], ["created_at", "2015-06-01 13:28:58.372108"], ["updated_at", "2015-06-01 13:28:58.372108"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
720
667
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
721
668
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
722
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
669
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "144"], ["created_at", "2015-06-01 13:28:58.374476"], ["updated_at", "2015-06-01 13:28:58.374476"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
723
670
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
671
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
672
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
673
|
+
[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
|
674
|
+
[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/%')
|
675
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
676
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
677
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
678
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
679
|
+
----------------------------------------------------------------------------------------
|
680
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
|
681
|
+
----------------------------------------------------------------------------------------
|
682
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
683
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
684
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
685
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
686
|
+
Parameters: {"asset"=>{}}
|
724
687
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
725
|
-
[1m[
|
726
|
-
|
727
|
-
[1m[
|
728
|
-
[1m[
|
729
|
-
[1m[
|
688
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
689
|
+
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
690
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
691
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
692
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
693
|
+
----------------------------------------------------------------------------------------
|
694
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0001_anonymous
|
695
|
+
----------------------------------------------------------------------------------------
|
696
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
697
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
698
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
699
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
700
|
+
Parameters: {"asset"=>{}}
|
701
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
702
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
703
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
704
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
705
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
706
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
707
|
+
----------------------------------------------------------------------------------------
|
708
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
|
709
|
+
----------------------------------------------------------------------------------------
|
710
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
711
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
712
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
713
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
714
|
+
Parameters: {"asset"=>{}}
|
730
715
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
731
|
-
[1m[
|
716
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
717
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
718
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
719
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
720
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
721
|
+
-----------------------------------------------------------------------
|
722
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
723
|
+
-----------------------------------------------------------------------
|
724
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
725
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
726
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
727
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
728
|
+
[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", "145"], ["created_at", "2015-06-01 13:28:58.406093"], ["updated_at", "2015-06-01 13:28:58.406093"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
732
729
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
733
730
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
734
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
731
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "146"], ["created_at", "2015-06-01 13:28:58.408434"], ["updated_at", "2015-06-01 13:28:58.408434"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
735
732
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
736
733
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
737
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
734
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "147"], ["created_at", "2015-06-01 13:28:58.410500"], ["updated_at", "2015-06-01 13:28:58.410500"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
738
735
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
739
736
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
740
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
737
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "148"], ["created_at", "2015-06-01 13:28:58.412599"], ["updated_at", "2015-06-01 13:28:58.412599"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
741
738
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
739
|
+
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
740
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
741
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
742
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
743
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
744
|
+
-----------------------------------------------------------------------
|
745
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
746
|
+
-----------------------------------------------------------------------
|
747
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
748
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
749
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
742
750
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
743
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
751
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "149"], ["created_at", "2015-06-01 13:28:58.418740"], ["updated_at", "2015-06-01 13:28:58.418740"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
744
752
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
745
753
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
746
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
754
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "150"], ["created_at", "2015-06-01 13:28:58.421035"], ["updated_at", "2015-06-01 13:28:58.421035"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
747
755
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
748
756
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
749
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
757
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "151"], ["created_at", "2015-06-01 13:28:58.423155"], ["updated_at", "2015-06-01 13:28:58.423155"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
750
758
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
751
759
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
752
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
760
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "152"], ["created_at", "2015-06-01 13:28:58.425468"], ["updated_at", "2015-06-01 13:28:58.425468"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
753
761
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
762
|
+
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
763
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
764
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
765
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
766
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
767
|
+
-----------------------------------------------------------------------
|
768
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
|
769
|
+
-----------------------------------------------------------------------
|
770
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
771
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
772
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
754
773
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
755
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
774
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "153"], ["created_at", "2015-06-01 13:28:58.431402"], ["updated_at", "2015-06-01 13:28:58.431402"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
756
775
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
757
776
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
758
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
777
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "154"], ["created_at", "2015-06-01 13:28:58.433883"], ["updated_at", "2015-06-01 13:28:58.433883"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
759
778
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
760
779
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
761
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
780
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "155"], ["created_at", "2015-06-01 13:28:58.435982"], ["updated_at", "2015-06-01 13:28:58.435982"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
762
781
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
763
782
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
764
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
783
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "156"], ["created_at", "2015-06-01 13:28:58.438002"], ["updated_at", "2015-06-01 13:28:58.438002"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
765
784
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
785
|
+
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
786
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
787
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
788
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
789
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
790
|
+
-----------------------------------------------------------------------
|
791
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
792
|
+
-----------------------------------------------------------------------
|
793
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
794
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
795
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
766
796
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
767
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
797
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "157"], ["created_at", "2015-06-01 13:28:58.443635"], ["updated_at", "2015-06-01 13:28:58.443635"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
768
798
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
769
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
770
|
-
Parameters: {"filter"=>"image"}
|
771
|
-
[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
|
772
|
-
[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
|
773
|
-
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
774
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
775
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
776
|
-
[1m[35m (0.1ms)[0m BEGIN
|
777
|
-
--------------------------------------------------------------------------------------
|
778
|
-
PushType::WysiwygMediaController::GET #index::filtering for files: test_0001_anonymous
|
779
|
-
--------------------------------------------------------------------------------------
|
780
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
781
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
782
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
783
799
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
784
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
800
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "158"], ["created_at", "2015-06-01 13:28:58.445741"], ["updated_at", "2015-06-01 13:28:58.445741"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
785
801
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
786
802
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
787
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
803
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "159"], ["created_at", "2015-06-01 13:28:58.447939"], ["updated_at", "2015-06-01 13:28:58.447939"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
788
804
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
789
805
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
790
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
806
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "160"], ["created_at", "2015-06-01 13:28:58.450085"], ["updated_at", "2015-06-01 13:28:58.450085"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
791
807
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
808
|
+
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
809
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
810
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
811
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
812
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
813
|
+
-----------------------------------------------------------------------
|
814
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
815
|
+
-----------------------------------------------------------------------
|
816
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
817
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
818
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
792
819
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
793
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "161"], ["created_at", "2015-06-01 13:28:58.455801"], ["updated_at", "2015-06-01 13:28:58.455801"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
794
821
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
795
822
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
796
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "162"], ["created_at", "2015-06-01 13:28:58.457832"], ["updated_at", "2015-06-01 13:28:58.457832"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
797
824
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
798
825
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
799
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "163"], ["created_at", "2015-06-01 13:28:58.459796"], ["updated_at", "2015-06-01 13:28:58.459796"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
800
827
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
801
828
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
802
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "164"], ["created_at", "2015-06-01 13:28:58.461918"], ["updated_at", "2015-06-01 13:28:58.461918"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
803
830
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
804
|
-
[1m[
|
805
|
-
[1m[
|
806
|
-
[1m[36m (0.1ms)[0m [
|
831
|
+
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
832
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
833
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
834
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
835
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
836
|
+
--------------------------------------------------------------------------------
|
837
|
+
PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
|
838
|
+
--------------------------------------------------------------------------------
|
839
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
840
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
841
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
842
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
843
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
844
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9459842d40 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150601-16002-oq9yua>>}}
|
807
845
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
808
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
846
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "165"], ["created_at", "2015-06-01 13:28:58.472030"], ["updated_at", "2015-06-01 13:28:58.472030"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
809
847
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
810
|
-
|
811
|
-
[1m[
|
812
|
-
[1m[
|
848
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
849
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
850
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
851
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
852
|
+
[1m[35m (0.1ms)[0m BEGIN
|
853
|
+
-----------------------------------------------------------------------
|
854
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0005_anonymous
|
855
|
+
-----------------------------------------------------------------------
|
856
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
857
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
858
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
813
859
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
814
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
860
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "166"], ["created_at", "2015-06-01 13:28:58.479256"], ["updated_at", "2015-06-01 13:28:58.479256"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
815
861
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
816
862
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
817
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
863
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "167"], ["created_at", "2015-06-01 13:28:58.482307"], ["updated_at", "2015-06-01 13:28:58.482307"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
818
864
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
819
865
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
820
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
866
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "168"], ["created_at", "2015-06-01 13:28:58.484932"], ["updated_at", "2015-06-01 13:28:58.484932"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
821
867
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
822
868
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
823
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
869
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "169"], ["created_at", "2015-06-01 13:28:58.487034"], ["updated_at", "2015-06-01 13:28:58.487034"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
824
870
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
825
|
-
[1m[35m (0.
|
826
|
-
[1m[
|
827
|
-
[1m[35m (0.1ms)[0m
|
871
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
872
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
873
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
874
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
875
|
+
-----------------------------------------------------------------------
|
876
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
877
|
+
-----------------------------------------------------------------------
|
878
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
879
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
880
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
828
881
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
829
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "170"], ["created_at", "2015-06-01 13:28:58.491536"], ["updated_at", "2015-06-01 13:28:58.491536"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
830
883
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
831
884
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
832
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "171"], ["created_at", "2015-06-01 13:28:58.493753"], ["updated_at", "2015-06-01 13:28:58.493753"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
833
886
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
834
887
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
835
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "172"], ["created_at", "2015-06-01 13:28:58.495820"], ["updated_at", "2015-06-01 13:28:58.495820"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
836
889
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
837
|
-
|
838
|
-
|
839
|
-
[1m[
|
840
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"
|
841
|
-
|
842
|
-
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
890
|
+
[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", "173"], ["created_at", "2015-06-01 13:28:58.498007"], ["updated_at", "2015-06-01 13:28:58.498007"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
892
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
893
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
894
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
843
895
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
844
896
|
[1m[35m (0.1ms)[0m BEGIN
|
845
|
-
|
846
|
-
PushType::
|
847
|
-
|
897
|
+
-----------------------------------------------------------------------
|
898
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
|
899
|
+
-----------------------------------------------------------------------
|
848
900
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
849
901
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
850
|
-
[1m[36m (0.
|
902
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
851
903
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
852
|
-
[1m[36mSQL (0.
|
904
|
+
[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", "174"], ["created_at", "2015-06-01 13:28:58.502718"], ["updated_at", "2015-06-01 13:28:58.502718"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
853
905
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
854
906
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
855
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
907
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "175"], ["created_at", "2015-06-01 13:28:58.505201"], ["updated_at", "2015-06-01 13:28:58.505201"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
856
908
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
857
909
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
858
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
910
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "176"], ["created_at", "2015-06-01 13:28:58.507282"], ["updated_at", "2015-06-01 13:28:58.507282"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
859
911
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
860
912
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
861
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
913
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "177"], ["created_at", "2015-06-01 13:28:58.509308"], ["updated_at", "2015-06-01 13:28:58.509308"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
862
914
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
863
|
-
[1m[35m (0.
|
864
|
-
[1m[
|
865
|
-
[1m[35m (0.1ms)[0m
|
915
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
916
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
917
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
918
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
919
|
+
-----------------------------------------------------------------------
|
920
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
921
|
+
-----------------------------------------------------------------------
|
922
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
924
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
866
925
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
867
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
926
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "178"], ["created_at", "2015-06-01 13:28:58.513834"], ["updated_at", "2015-06-01 13:28:58.513834"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
868
927
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
869
928
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
870
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
929
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "179"], ["created_at", "2015-06-01 13:28:58.516419"], ["updated_at", "2015-06-01 13:28:58.516419"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
871
930
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
872
931
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
873
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
932
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "180"], ["created_at", "2015-06-01 13:28:58.518734"], ["updated_at", "2015-06-01 13:28:58.518734"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
874
933
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
875
934
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
876
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
935
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.521044"], ["updated_at", "2015-06-01 13:28:58.521044"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
936
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
937
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
938
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
939
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
940
|
+
[1m[35m (0.1ms)[0m BEGIN
|
941
|
+
-----------------------------------------------------------------------
|
942
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0002_anonymous
|
943
|
+
-----------------------------------------------------------------------
|
944
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
945
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
946
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
947
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
948
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "182"], ["created_at", "2015-06-01 13:28:58.525653"], ["updated_at", "2015-06-01 13:28:58.525653"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
877
949
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
878
950
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
879
|
-
[1m[35mSQL (0.
|
951
|
+
[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", "183"], ["created_at", "2015-06-01 13:28:58.528112"], ["updated_at", "2015-06-01 13:28:58.528112"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
880
952
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
881
953
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
882
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
954
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "184"], ["created_at", "2015-06-01 13:28:58.530454"], ["updated_at", "2015-06-01 13:28:58.530454"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
883
955
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
884
956
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
885
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
957
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "185"], ["created_at", "2015-06-01 13:28:58.533027"], ["updated_at", "2015-06-01 13:28:58.533027"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
886
958
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
959
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
960
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
961
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
962
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
963
|
+
-------------------------------------------------------------------------------------
|
964
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
|
965
|
+
-------------------------------------------------------------------------------------
|
966
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
967
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
968
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
969
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
970
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9451fa2160 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150601-16002-xbh0xp>>}}
|
971
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
972
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "186"], ["created_at", "2015-06-01 13:28:58.540771"], ["updated_at", "2015-06-01 13:28:58.540771"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
973
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
974
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
975
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
976
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
977
|
+
[1m[35m (0.1ms)[0m BEGIN
|
978
|
+
-------------------------------------------------------------------------------------
|
979
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
|
980
|
+
-------------------------------------------------------------------------------------
|
981
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
982
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
983
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
984
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
985
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f94515b5ee0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150601-16002-1kiusaf>>}}
|
887
986
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
888
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
987
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "187"], ["created_at", "2015-06-01 13:28:58.546631"], ["updated_at", "2015-06-01 13:28:58.546631"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
889
988
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
989
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
990
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
991
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
992
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
993
|
+
-------------------------------------------------------------------------------------
|
994
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
|
995
|
+
-------------------------------------------------------------------------------------
|
996
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
997
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
998
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
999
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1000
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9451f188e8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150601-16002-k26hy3>>}}
|
890
1001
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
891
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1002
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "188"], ["created_at", "2015-06-01 13:28:58.552875"], ["updated_at", "2015-06-01 13:28:58.552875"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
892
1003
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1004
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1005
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1006
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1007
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1008
|
+
----------------------------------------------------------------------
|
1009
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
|
1010
|
+
----------------------------------------------------------------------
|
1011
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1012
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1013
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
893
1014
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
894
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "189"], ["created_at", "2015-06-01 13:28:58.558129"], ["updated_at", "2015-06-01 13:28:58.558129"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
895
1016
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1017
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1018
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1019
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1020
|
+
----------------------------------------------------------------------
|
1021
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
1022
|
+
----------------------------------------------------------------------
|
1023
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1024
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1025
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
896
1026
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
897
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1027
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "190"], ["created_at", "2015-06-01 13:28:58.562355"], ["updated_at", "2015-06-01 13:28:58.562355"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
898
1028
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1029
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1030
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1031
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1032
|
+
----------------------------------------------------------------------
|
1033
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
1034
|
+
----------------------------------------------------------------------
|
1035
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1036
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1037
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
899
1038
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
900
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "191"], ["created_at", "2015-06-01 13:28:58.566039"], ["updated_at", "2015-06-01 13:28:58.566039"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
901
1040
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1041
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1042
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1043
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
1044
|
+
----------------------------------------------------------------------
|
1045
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
1046
|
+
----------------------------------------------------------------------
|
1047
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1048
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1049
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
902
1050
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
903
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "192"], ["created_at", "2015-06-01 13:28:58.570126"], ["updated_at", "2015-06-01 13:28:58.570126"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
904
1052
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
905
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
906
|
-
Parameters: {"filter"=>"file"}
|
907
|
-
[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
|
908
|
-
[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
|
909
|
-
Completed 200 OK in 10ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
910
1053
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
911
1054
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
912
1055
|
[1m[35m (0.1ms)[0m BEGIN
|
913
|
-
|
914
|
-
PushType::
|
915
|
-
|
1056
|
+
----------------------------------------------------------------------
|
1057
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
|
1058
|
+
----------------------------------------------------------------------
|
1059
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1060
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
916
1061
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1062
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1063
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.574425"], ["updated_at", "2015-06-01 13:28:58.574425"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1064
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1065
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1066
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1067
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1068
|
+
----------------------------------------------------------------------
|
1069
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
|
1070
|
+
----------------------------------------------------------------------
|
1071
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1072
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1073
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1074
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1075
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "194"], ["created_at", "2015-06-01 13:28:58.578274"], ["updated_at", "2015-06-01 13:28:58.578274"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1076
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1077
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1078
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1079
|
+
[1m[35m (0.0ms)[0m BEGIN
|
1080
|
+
----------------------------------------------------------------------
|
1081
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
|
1082
|
+
----------------------------------------------------------------------
|
1083
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
917
1084
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
918
1085
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
919
1086
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
920
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1087
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "195"], ["created_at", "2015-06-01 13:28:58.582365"], ["updated_at", "2015-06-01 13:28:58.582365"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
921
1088
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1089
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1090
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1091
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1092
|
+
--------------------------------------------------------------------------------------
|
1093
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0001_anonymous
|
1094
|
+
--------------------------------------------------------------------------------------
|
1095
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1096
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1097
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
922
1098
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
923
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1099
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.587985"], ["updated_at", "2015-06-01 13:28:58.587985"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
924
1100
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
925
1101
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
926
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1102
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.590209"], ["updated_at", "2015-06-01 13:28:58.590209"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
927
1103
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
928
1104
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
929
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1105
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.592413"], ["updated_at", "2015-06-01 13:28:58.592413"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
930
1106
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
931
1107
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
932
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1108
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.594664"], ["updated_at", "2015-06-01 13:28:58.594664"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
933
1109
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
934
1110
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
935
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1111
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.596795"], ["updated_at", "2015-06-01 13:28:58.596795"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
936
1112
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
937
1113
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
938
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1114
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.598878"], ["updated_at", "2015-06-01 13:28:58.598878"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
939
1115
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
940
1116
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
941
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1117
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.601169"], ["updated_at", "2015-06-01 13:28:58.601169"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
942
1118
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
943
1119
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
944
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1120
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.603473"], ["updated_at", "2015-06-01 13:28:58.603473"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
945
1121
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
946
1122
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
947
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1123
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.605992"], ["updated_at", "2015-06-01 13:28:58.605992"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
948
1124
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
949
1125
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
950
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1126
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.608388"], ["updated_at", "2015-06-01 13:28:58.608388"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
951
1127
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
952
1128
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
953
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1129
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "206"], ["created_at", "2015-06-01 13:28:58.610536"], ["updated_at", "2015-06-01 13:28:58.610536"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
954
1130
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
955
1131
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
956
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1132
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.612791"], ["updated_at", "2015-06-01 13:28:58.612791"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
957
1133
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
958
1134
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
959
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1135
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "208"], ["created_at", "2015-06-01 13:28:58.614953"], ["updated_at", "2015-06-01 13:28:58.614953"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
960
1136
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
961
1137
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
962
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1138
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "209"], ["created_at", "2015-06-01 13:28:58.617444"], ["updated_at", "2015-06-01 13:28:58.617444"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
963
1139
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
964
1140
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
965
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1141
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.619992"], ["updated_at", "2015-06-01 13:28:58.619992"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
966
1142
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
967
1143
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
968
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1144
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "211"], ["created_at", "2015-06-01 13:28:58.622229"], ["updated_at", "2015-06-01 13:28:58.622229"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
969
1145
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
970
1146
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
971
|
-
[1m[35mSQL (0.
|
1147
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.624427"], ["updated_at", "2015-06-01 13:28:58.624427"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
972
1148
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1149
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1150
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.626622"], ["updated_at", "2015-06-01 13:28:58.626622"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1151
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
973
1152
|
Processing by PushType::WysiwygMediaController#index as JSON
|
974
1153
|
Parameters: {"filter"=>"file"}
|
975
|
-
[1m[
|
976
|
-
[1m[
|
977
|
-
Completed 200 OK in
|
978
|
-
[1m[
|
979
|
-
[1m[
|
980
|
-
[1m[
|
1154
|
+
[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
|
1155
|
+
[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/%')
|
1156
|
+
Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
1157
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1158
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1159
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
981
1160
|
--------------------------------------------------------------------------------------
|
982
|
-
PushType::WysiwygMediaController::GET #index::filtering for files:
|
1161
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0002_anonymous
|
983
1162
|
--------------------------------------------------------------------------------------
|
984
|
-
[1m[
|
985
|
-
[1m[
|
986
|
-
[1m[
|
987
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
988
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "219"], ["created_at", "2015-04-29 16:46:32.548749"], ["updated_at", "2015-04-29 16:46:32.548749"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
989
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1163
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1164
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1165
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
990
1166
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
991
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1167
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.643394"], ["updated_at", "2015-06-01 13:28:58.643394"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
992
1168
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
993
1169
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
994
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1170
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.645441"], ["updated_at", "2015-06-01 13:28:58.645441"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
995
1171
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
996
1172
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
997
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1173
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "216"], ["created_at", "2015-06-01 13:28:58.647477"], ["updated_at", "2015-06-01 13:28:58.647477"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
998
1174
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
999
1175
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1000
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1176
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "217"], ["created_at", "2015-06-01 13:28:58.649473"], ["updated_at", "2015-06-01 13:28:58.649473"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1001
1177
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1002
1178
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1003
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1179
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "218"], ["created_at", "2015-06-01 13:28:58.651496"], ["updated_at", "2015-06-01 13:28:58.651496"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1004
1180
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1005
1181
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1006
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1182
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "219"], ["created_at", "2015-06-01 13:28:58.653591"], ["updated_at", "2015-06-01 13:28:58.653591"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1007
1183
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1008
1184
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1009
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1185
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.655768"], ["updated_at", "2015-06-01 13:28:58.655768"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1010
1186
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1011
1187
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1012
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1188
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.657785"], ["updated_at", "2015-06-01 13:28:58.657785"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1013
1189
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1014
1190
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1015
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1191
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.659943"], ["updated_at", "2015-06-01 13:28:58.659943"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1016
1192
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1017
1193
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1018
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1194
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "223"], ["created_at", "2015-06-01 13:28:58.661919"], ["updated_at", "2015-06-01 13:28:58.661919"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1019
1195
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1020
1196
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1021
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1197
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.663851"], ["updated_at", "2015-06-01 13:28:58.663851"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1022
1198
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1023
1199
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1024
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1200
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.700363"], ["updated_at", "2015-06-01 13:28:58.700363"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1025
1201
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1026
1202
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1027
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1203
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.702819"], ["updated_at", "2015-06-01 13:28:58.702819"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1028
1204
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1029
1205
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1030
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1206
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.704937"], ["updated_at", "2015-06-01 13:28:58.704937"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1031
1207
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1032
1208
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1033
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1209
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "228"], ["created_at", "2015-06-01 13:28:58.707099"], ["updated_at", "2015-06-01 13:28:58.707099"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1034
1210
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1035
1211
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1036
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1212
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.709139"], ["updated_at", "2015-06-01 13:28:58.709139"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1037
1213
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1038
1214
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1039
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1215
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.711255"], ["updated_at", "2015-06-01 13:28:58.711255"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1040
1216
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1041
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
1042
|
-
Parameters: {"filter"=>"file"}
|
1043
|
-
[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
|
1044
|
-
[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
|
1045
|
-
Completed 200 OK in 11ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
1046
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1047
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1048
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1049
|
-
----------------------------------------------------------------------
|
1050
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
|
1051
|
-
----------------------------------------------------------------------
|
1052
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1053
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1054
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1055
1217
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1056
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1218
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "231"], ["created_at", "2015-06-01 13:28:58.713519"], ["updated_at", "2015-06-01 13:28:58.713519"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1057
1219
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1220
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1221
|
+
Parameters: {"filter"=>"file"}
|
1222
|
+
[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
|
1223
|
+
[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/%')
|
1224
|
+
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
1058
1225
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1059
1226
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1060
1227
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1061
|
-
|
1062
|
-
PushType::
|
1063
|
-
|
1064
|
-
[1m[35m (0.
|
1228
|
+
--------------------------------------------------------------------------------------
|
1229
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0004_anonymous
|
1230
|
+
--------------------------------------------------------------------------------------
|
1231
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1065
1232
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1066
1233
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1067
1234
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1068
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1235
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.731743"], ["updated_at", "2015-06-01 13:28:58.731743"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1069
1236
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1070
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1071
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1072
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1073
|
-
----------------------------------------------------------------------
|
1074
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
|
1075
|
-
----------------------------------------------------------------------
|
1076
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1077
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1078
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1079
1237
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1080
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1238
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.734198"], ["updated_at", "2015-06-01 13:28:58.734198"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1081
1239
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1082
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1083
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1084
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1085
|
-
----------------------------------------------------------------------
|
1086
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
|
1087
|
-
----------------------------------------------------------------------
|
1088
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1089
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1090
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1091
1240
|
[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", "
|
1241
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.736392"], ["updated_at", "2015-06-01 13:28:58.736392"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1093
1242
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1094
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1095
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1096
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1097
|
-
----------------------------------------------------------------------
|
1098
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
1099
|
-
----------------------------------------------------------------------
|
1100
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1101
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1102
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1103
1243
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1104
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1244
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.738593"], ["updated_at", "2015-06-01 13:28:58.738593"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1105
1245
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1106
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1107
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1108
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1109
|
-
----------------------------------------------------------------------
|
1110
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
1111
|
-
----------------------------------------------------------------------
|
1112
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1113
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1114
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1115
1246
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
1247
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.740853"], ["updated_at", "2015-06-01 13:28:58.740853"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1117
1248
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1118
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1119
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1120
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1121
|
-
----------------------------------------------------------------------
|
1122
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
1123
|
-
----------------------------------------------------------------------
|
1124
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1125
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1126
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1127
1249
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1128
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1250
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.743163"], ["updated_at", "2015-06-01 13:28:58.743163"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1129
1251
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1130
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1131
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1132
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1133
|
-
----------------------------------------------------------------------------------------
|
1134
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
|
1135
|
-
----------------------------------------------------------------------------------------
|
1136
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1137
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1138
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1139
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1140
|
-
Parameters: {"asset"=>{}}
|
1141
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1142
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
1143
|
-
Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1144
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1145
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1146
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1147
|
-
----------------------------------------------------------------------------------------
|
1148
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
|
1149
|
-
----------------------------------------------------------------------------------------
|
1150
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1151
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1152
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1153
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1154
|
-
Parameters: {"asset"=>{}}
|
1155
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1156
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
1157
|
-
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1158
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1159
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1160
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1161
|
-
----------------------------------------------------------------------------------------
|
1162
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0001_anonymous
|
1163
|
-
----------------------------------------------------------------------------------------
|
1164
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1165
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1166
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1167
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1168
|
-
Parameters: {"asset"=>{}}
|
1169
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1170
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
1171
|
-
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
1172
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1173
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1174
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1175
|
-
-----------------------------------------------------------------------
|
1176
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
1177
|
-
-----------------------------------------------------------------------
|
1178
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1179
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1180
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1181
1252
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1182
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1253
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.745468"], ["updated_at", "2015-06-01 13:28:58.745468"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1183
1254
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1184
1255
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1185
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1256
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.747613"], ["updated_at", "2015-06-01 13:28:58.747613"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1186
1257
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1187
1258
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1188
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1259
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.749760"], ["updated_at", "2015-06-01 13:28:58.749760"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1189
1260
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1190
1261
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1191
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1262
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.751862"], ["updated_at", "2015-06-01 13:28:58.751862"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1192
1263
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1193
|
-
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
1194
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1195
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1196
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1197
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1198
|
-
-----------------------------------------------------------------------
|
1199
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
1200
|
-
-----------------------------------------------------------------------
|
1201
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1202
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1203
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1204
1264
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1205
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1265
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.754101"], ["updated_at", "2015-06-01 13:28:58.754101"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1206
1266
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1207
1267
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1208
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1268
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.756402"], ["updated_at", "2015-06-01 13:28:58.756402"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1209
1269
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1210
1270
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1211
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1271
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.758722"], ["updated_at", "2015-06-01 13:28:58.758722"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1212
1272
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1213
1273
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1214
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1274
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.760994"], ["updated_at", "2015-06-01 13:28:58.760994"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1215
1275
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1216
|
-
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
1217
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1218
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1219
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1220
|
-
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
1221
|
-
-----------------------------------------------------------------------
|
1222
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
1223
|
-
-----------------------------------------------------------------------
|
1224
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1225
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1226
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1227
1276
|
[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", "
|
1277
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.763215"], ["updated_at", "2015-06-01 13:28:58.763215"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1229
1278
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1230
1279
|
[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", "
|
1280
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.765874"], ["updated_at", "2015-06-01 13:28:58.765874"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1232
1281
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1233
1282
|
[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", "
|
1283
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.768333"], ["updated_at", "2015-06-01 13:28:58.768333"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1235
1284
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1236
1285
|
[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", "
|
1286
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.770544"], ["updated_at", "2015-06-01 13:28:58.770544"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1238
1287
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1239
|
-
|
1240
|
-
|
1288
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1289
|
+
Parameters: {"filter"=>"file"}
|
1290
|
+
[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
|
1291
|
+
[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/%')
|
1292
|
+
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
1241
1293
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1242
1294
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1243
1295
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1244
|
-
|
1245
|
-
PushType::
|
1246
|
-
|
1296
|
+
--------------------------------------------------------------------------------------
|
1297
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0003_anonymous
|
1298
|
+
--------------------------------------------------------------------------------------
|
1247
1299
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1248
1300
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1249
1301
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1250
1302
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1251
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1303
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.787927"], ["updated_at", "2015-06-01 13:28:58.787927"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1252
1304
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1253
1305
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1254
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1306
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.790123"], ["updated_at", "2015-06-01 13:28:58.790123"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1255
1307
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1256
1308
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1257
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1309
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.792536"], ["updated_at", "2015-06-01 13:28:58.792536"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1258
1310
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1259
1311
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1260
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1312
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.794662"], ["updated_at", "2015-06-01 13:28:58.794662"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1261
1313
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1262
|
-
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
1263
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1264
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1265
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1266
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1267
|
-
-----------------------------------------------------------------------
|
1268
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
1269
|
-
-----------------------------------------------------------------------
|
1270
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1271
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1272
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1273
1314
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1274
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1315
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.796686"], ["updated_at", "2015-06-01 13:28:58.796686"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1275
1316
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1276
1317
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1277
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1318
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.798771"], ["updated_at", "2015-06-01 13:28:58.798771"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1278
1319
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1279
1320
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1280
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1321
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.800847"], ["updated_at", "2015-06-01 13:28:58.800847"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1281
1322
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1282
1323
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1283
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1324
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.802926"], ["updated_at", "2015-06-01 13:28:58.802926"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1284
1325
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1285
|
-
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
1286
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1287
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1288
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1289
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1290
|
-
-------------------------------------------------------------------------------------
|
1291
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
|
1292
|
-
-------------------------------------------------------------------------------------
|
1293
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1294
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1295
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1296
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1297
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff595d17b20 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9740-z2jhqq>>}}
|
1298
1326
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1299
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1327
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.804971"], ["updated_at", "2015-06-01 13:28:58.804971"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1300
1328
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1301
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1302
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1303
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1304
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1305
|
-
-------------------------------------------------------------------------------------
|
1306
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
|
1307
|
-
-------------------------------------------------------------------------------------
|
1308
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1309
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1310
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1311
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1312
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff595c86eb8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9740-1ghipio>>}}
|
1313
1329
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1314
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1330
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.807031"], ["updated_at", "2015-06-01 13:28:58.807031"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1315
1331
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1316
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1317
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1318
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1319
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1320
|
-
-------------------------------------------------------------------------------------
|
1321
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
|
1322
|
-
-------------------------------------------------------------------------------------
|
1323
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1324
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1325
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1326
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1327
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff595bf6638 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9740-17uf5z1>>}}
|
1328
1332
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "
|
1333
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.809361"], ["updated_at", "2015-06-01 13:28:58.809361"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1330
1334
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1331
|
-
|
1332
|
-
[1m[
|
1333
|
-
[1m[
|
1334
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1335
|
-
--------------------------------------------------------------------------------
|
1336
|
-
PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
|
1337
|
-
--------------------------------------------------------------------------------
|
1338
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1339
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1340
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1341
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1342
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1343
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff59596a158 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9740-1tde7t3>>}}
|
1335
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1336
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.813656"], ["updated_at", "2015-06-01 13:28:58.813656"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1337
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1344
1338
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1345
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1339
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.815998"], ["updated_at", "2015-06-01 13:28:58.815998"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1346
1340
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1347
|
-
|
1348
|
-
[1m[
|
1341
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1342
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.818185"], ["updated_at", "2015-06-01 13:28:58.818185"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1343
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1344
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1345
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.820298"], ["updated_at", "2015-06-01 13:28:58.820298"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1346
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1347
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1348
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-06-01 13:28:58.822681"], ["updated_at", "2015-06-01 13:28:58.822681"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1349
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1350
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1351
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-06-01 13:28:58.824824"], ["updated_at", "2015-06-01 13:28:58.824824"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1352
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1353
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1354
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "267"], ["created_at", "2015-06-01 13:28:58.827368"], ["updated_at", "2015-06-01 13:28:58.827368"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1355
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1356
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1357
|
+
Parameters: {"filter"=>"file"}
|
1358
|
+
[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
|
1359
|
+
[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/%')
|
1360
|
+
Completed 200 OK in 12ms (Views: 0.7ms | ActiveRecord: 0.6ms)
|
1349
1361
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1350
1362
|
[1m[35m (0.1ms)[0m ROLLBACK
|