push_type_wysiwyg 0.3.3 → 0.4.0.beta.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/app/models/category.rb +6 -0
- data/test/dummy/app/views/taxonomies/category.html.erb +3 -0
- data/test/dummy/config/initializers/push_type.rb +3 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150310192221_create_push_type_users.push_type.rb → 20150406131611_create_push_type_users.push_type.rb} +1 -1
- data/test/dummy/db/migrate/{20150310192222_create_push_type_nodes.push_type.rb → 20150406131612_create_push_type_nodes.push_type.rb} +1 -1
- data/test/dummy/db/migrate/{20150310192223_create_push_type_node_hierarchies.push_type.rb → 20150406131613_create_push_type_node_hierarchies.push_type.rb} +2 -2
- data/test/dummy/db/migrate/{20150310192224_create_push_type_assets.push_type.rb → 20150406131614_create_push_type_assets.push_type.rb} +1 -1
- data/test/dummy/db/migrate/20150406131615_create_push_type_taxonomies.push_type.rb +19 -0
- data/test/dummy/db/migrate/20150406131616_create_push_type_taxonomy_hierarchies.push_type.rb +17 -0
- data/test/dummy/db/schema.rb +29 -9
- data/test/dummy/log/test.log +680 -643
- data/test/dummy/tmp/cache/assets/test/sprockets/{33d35be24dc460ab551a05001b7a6d0c → a68b91e15fdc16974ff7b8ae47449026} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/{4643214930041faccaf22bf42bce1a04 → cdccdf2ac861273d2df93520f5601e1b} +0 -0
- metadata +28 -20
data/test/dummy/log/test.log
CHANGED
@@ -1,31 +1,44 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (3.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (0.9ms)[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 (20150406131611)
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
6
6
|
[1m[36mSQL (1.8ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
-
[1m[35m (2.
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
7
|
+
[1m[35m (2.3ms)[0m CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
8
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150406131611"]]
|
9
9
|
[1m[35m (0.7ms)[0m COMMIT
|
10
|
-
Migrating to CreatePushTypeNodes (
|
10
|
+
Migrating to CreatePushTypeNodes (20150406131612)
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12
|
-
[1m[35m (1.
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
12
|
+
[1m[35m (1.8ms)[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", "20150406131612"]]
|
14
14
|
[1m[35m (0.4ms)[0m COMMIT
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150406131613)
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17
17
|
[1m[35m (0.4ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
18
|
-
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "
|
19
|
-
[1m[35m (0.
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
18
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
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", "20150406131613"]]
|
21
21
|
[1m[35m (0.4ms)[0m COMMIT
|
22
|
-
Migrating to CreatePushTypeAssets (
|
22
|
+
Migrating to CreatePushTypeAssets (20150406131614)
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
24
|
-
[1m[35m (2.1ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
25
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
26
|
-
[1m[35m (0.
|
27
|
-
|
28
|
-
[1m[
|
24
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
|
25
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150406131614"]]
|
26
|
+
[1m[35m (0.4ms)[0m COMMIT
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20150406131615)
|
28
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
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
|
+
[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", "20150406131615"]]
|
32
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20150406131616)
|
34
|
+
[1m[35m (0.1ms)[0m BEGIN
|
35
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) [0m
|
36
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
37
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")[0m
|
38
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150406131616"]]
|
39
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
40
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
41
|
+
[1m[36m (1.6ms)[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
|
29
42
|
FROM pg_constraint c
|
30
43
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
31
44
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -36,8 +49,8 @@ WHERE c.contype = 'f'
|
|
36
49
|
AND t1.relname = 'push_type_assets'
|
37
50
|
AND t3.nspname = ANY (current_schemas(false))
|
38
51
|
ORDER BY c.conname
|
39
|
-
|
40
|
-
[1m[
|
52
|
+
[0m
|
53
|
+
[1m[35m (1.2ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
41
54
|
FROM pg_constraint c
|
42
55
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
43
56
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -48,8 +61,8 @@ WHERE c.contype = 'f'
|
|
48
61
|
AND t1.relname = 'push_type_node_hierarchies'
|
49
62
|
AND t3.nspname = ANY (current_schemas(false))
|
50
63
|
ORDER BY c.conname
|
51
|
-
|
52
|
-
[1m[
|
64
|
+
|
65
|
+
[1m[36m (1.2ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
53
66
|
FROM pg_constraint c
|
54
67
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
55
68
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -60,8 +73,20 @@ WHERE c.contype = 'f'
|
|
60
73
|
AND t1.relname = 'push_type_nodes'
|
61
74
|
AND t3.nspname = ANY (current_schemas(false))
|
62
75
|
ORDER BY c.conname
|
76
|
+
[0m
|
77
|
+
[1m[35m (1.2ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
78
|
+
FROM pg_constraint c
|
79
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
80
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
81
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
82
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
83
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
84
|
+
WHERE c.contype = 'f'
|
85
|
+
AND t1.relname = 'push_type_taxonomies'
|
86
|
+
AND t3.nspname = ANY (current_schemas(false))
|
87
|
+
ORDER BY c.conname
|
63
88
|
|
64
|
-
[1m[36m (1.
|
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
|
65
90
|
FROM pg_constraint c
|
66
91
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
67
92
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -69,936 +94,1054 @@ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
|
69
94
|
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
70
95
|
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
71
96
|
WHERE c.contype = 'f'
|
72
|
-
AND t1.relname = '
|
97
|
+
AND t1.relname = 'push_type_taxonomy_hierarchies'
|
73
98
|
AND t3.nspname = ANY (current_schemas(false))
|
74
99
|
ORDER BY c.conname
|
75
100
|
[0m
|
101
|
+
[1m[35m (1.2ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
102
|
+
FROM pg_constraint c
|
103
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
104
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
105
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
106
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
107
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
108
|
+
WHERE c.contype = 'f'
|
109
|
+
AND t1.relname = 'push_type_users'
|
110
|
+
AND t3.nspname = ANY (current_schemas(false))
|
111
|
+
ORDER BY c.conname
|
112
|
+
|
76
113
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
77
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL
|
78
|
-
[1m[36m (
|
114
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL
|
115
|
+
[1m[36m (0.9ms)[0m [1m SELECT schemaname || '.' || tablename
|
79
116
|
FROM pg_tables
|
80
117
|
WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))
|
81
118
|
[0m
|
82
|
-
[1m[35m (1.
|
83
|
-
[1m[36m (
|
84
|
-
[1m[35m (0.
|
119
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
120
|
+
[1m[36m (10.2ms)[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
|
+
[1m[35m (0.4ms)[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
|
85
122
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86
|
-
|
87
|
-
PushType::WysiwygMediaController::GET #index::filtering for
|
88
|
-
|
123
|
+
---------------------------------------------------------------------------------------
|
124
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0001_anonymous
|
125
|
+
---------------------------------------------------------------------------------------
|
89
126
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
90
127
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
91
|
-
[1m[35m (0.
|
128
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
92
129
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
93
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "1"], ["created_at", "2015-
|
130
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "1"], ["created_at", "2015-04-06 13:16:16.062469"], ["updated_at", "2015-04-06 13:16:16.062469"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
94
131
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
95
132
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
96
|
-
[1m[36mSQL (0.
|
133
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-04-06 13:16:16.068207"], ["updated_at", "2015-04-06 13:16:16.068207"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
97
134
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
98
135
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
99
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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-04-06 13:16:16.071048"], ["updated_at", "2015-04-06 13:16:16.071048"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
100
137
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
101
138
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
102
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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-04-06 13:16:16.073518"], ["updated_at", "2015-04-06 13:16:16.073518"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
103
140
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
104
141
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
105
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
142
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "5"], ["created_at", "2015-04-06 13:16:16.076047"], ["updated_at", "2015-04-06 13:16:16.076047"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
106
143
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
107
144
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
108
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "6"], ["created_at", "2015-04-06 13:16:16.079607"], ["updated_at", "2015-04-06 13:16:16.079607"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
109
146
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
110
147
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
111
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "7"], ["created_at", "2015-04-06 13:16:16.082208"], ["updated_at", "2015-04-06 13:16:16.082208"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
112
149
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
113
150
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
114
|
-
[1m[36mSQL (0.
|
151
|
+
[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", "8"], ["created_at", "2015-04-06 13:16:16.085173"], ["updated_at", "2015-04-06 13:16:16.085173"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
115
152
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
116
153
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
117
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "9"], ["created_at", "2015-04-06 13:16:16.088039"], ["updated_at", "2015-04-06 13:16:16.088039"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
118
155
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
119
156
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
120
|
-
[1m[36mSQL (0.
|
157
|
+
[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", "10"], ["created_at", "2015-04-06 13:16:16.090740"], ["updated_at", "2015-04-06 13:16:16.090740"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
121
158
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
122
159
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
123
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "11"], ["created_at", "2015-04-06 13:16:16.093505"], ["updated_at", "2015-04-06 13:16:16.093505"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
124
161
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
125
162
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
126
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "12"], ["created_at", "2015-04-06 13:16:16.096103"], ["updated_at", "2015-04-06 13:16:16.096103"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
127
164
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
128
165
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
129
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
166
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "13"], ["created_at", "2015-04-06 13:16:16.098618"], ["updated_at", "2015-04-06 13:16:16.098618"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
130
167
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
131
168
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
132
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "14"], ["created_at", "2015-04-06 13:16:16.101083"], ["updated_at", "2015-04-06 13:16:16.101083"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
133
170
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
134
171
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
135
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "15"], ["created_at", "2015-04-06 13:16:16.103834"], ["updated_at", "2015-04-06 13:16:16.103834"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
136
173
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
137
174
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
138
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "16"], ["created_at", "2015-04-06 13:16:16.106401"], ["updated_at", "2015-04-06 13:16:16.106401"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
139
176
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
140
177
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
141
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "17"], ["created_at", "2015-04-06 13:16:16.108992"], ["updated_at", "2015-04-06 13:16:16.108992"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
142
179
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
143
180
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
144
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "18"], ["created_at", "2015-04-06 13:16:16.111464"], ["updated_at", "2015-04-06 13:16:16.111464"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
145
182
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
146
183
|
Processing by PushType::WysiwygMediaController#index as JSON
|
147
|
-
Parameters: {"filter"=>"
|
148
|
-
[1m[36mPushType::Asset Load (0.
|
149
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type
|
150
|
-
Completed 200 OK in
|
184
|
+
Parameters: {"filter"=>"image"}
|
185
|
+
[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
|
186
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
187
|
+
Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 1.0ms)
|
151
188
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
152
189
|
[1m[35m (0.1ms)[0m ROLLBACK
|
153
190
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
154
|
-
|
155
|
-
PushType::WysiwygMediaController::GET #index::filtering for
|
156
|
-
|
191
|
+
---------------------------------------------------------------------------------------
|
192
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0003_anonymous
|
193
|
+
---------------------------------------------------------------------------------------
|
157
194
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
158
|
-
[1m[36m (0.
|
195
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
159
196
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
160
197
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
161
|
-
[1m[35mSQL (0.
|
198
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "19"], ["created_at", "2015-04-06 13:16:16.142163"], ["updated_at", "2015-04-06 13:16:16.142163"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
162
199
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
163
200
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
164
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
201
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.151656"], ["updated_at", "2015-04-06 13:16:16.151656"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
165
202
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
166
203
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
167
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
204
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.154405"], ["updated_at", "2015-04-06 13:16:16.154405"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
168
205
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
169
206
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
170
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
207
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.156947"], ["updated_at", "2015-04-06 13:16:16.156947"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
171
208
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
172
209
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
173
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "23"], ["created_at", "2015-04-06 13:16:16.159408"], ["updated_at", "2015-04-06 13:16:16.159408"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
174
211
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
175
212
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
176
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "24"], ["created_at", "2015-04-06 13:16:16.161957"], ["updated_at", "2015-04-06 13:16:16.161957"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
177
214
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
178
215
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
179
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "25"], ["created_at", "2015-04-06 13:16:16.164580"], ["updated_at", "2015-04-06 13:16:16.164580"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
180
217
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
181
218
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
182
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "26"], ["created_at", "2015-04-06 13:16:16.167122"], ["updated_at", "2015-04-06 13:16:16.167122"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
183
220
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
184
221
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
185
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "27"], ["created_at", "2015-04-06 13:16:16.169609"], ["updated_at", "2015-04-06 13:16:16.169609"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
186
223
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
187
224
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
188
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "28"], ["created_at", "2015-04-06 13:16:16.172065"], ["updated_at", "2015-04-06 13:16:16.172065"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
189
226
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
190
227
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
191
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
228
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "29"], ["created_at", "2015-04-06 13:16:16.174836"], ["updated_at", "2015-04-06 13:16:16.174836"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
192
229
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
193
230
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
194
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "30"], ["created_at", "2015-04-06 13:16:16.177625"], ["updated_at", "2015-04-06 13:16:16.177625"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
195
232
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
196
233
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
197
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "31"], ["created_at", "2015-04-06 13:16:16.180169"], ["updated_at", "2015-04-06 13:16:16.180169"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
198
235
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
199
236
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
200
|
-
[1m[36mSQL (0.
|
201
|
-
[1m[35m (0.
|
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", "32"], ["created_at", "2015-04-06 13:16:16.182831"], ["updated_at", "2015-04-06 13:16:16.182831"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
238
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
202
239
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
203
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "33"], ["created_at", "2015-04-06 13:16:16.185519"], ["updated_at", "2015-04-06 13:16:16.185519"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
204
241
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
205
242
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
206
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "34"], ["created_at", "2015-04-06 13:16:16.188043"], ["updated_at", "2015-04-06 13:16:16.188043"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
207
244
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
208
245
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
209
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "35"], ["created_at", "2015-04-06 13:16:16.190749"], ["updated_at", "2015-04-06 13:16:16.190749"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
210
247
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
211
248
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
212
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "36"], ["created_at", "2015-04-06 13:16:16.193442"], ["updated_at", "2015-04-06 13:16:16.193442"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
213
250
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
214
251
|
Processing by PushType::WysiwygMediaController#index as JSON
|
215
|
-
Parameters: {"filter"=>"
|
216
|
-
[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
|
217
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type
|
218
|
-
Completed 200 OK in
|
252
|
+
Parameters: {"filter"=>"image"}
|
253
|
+
[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
|
254
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
255
|
+
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
219
256
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
220
257
|
[1m[35m (0.1ms)[0m ROLLBACK
|
221
258
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
222
|
-
|
223
|
-
PushType::WysiwygMediaController::GET #index::filtering for
|
224
|
-
|
225
|
-
[1m[35m (0.
|
226
|
-
[1m[36m (0.
|
227
|
-
[1m[35m (0.
|
259
|
+
---------------------------------------------------------------------------------------
|
260
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0004_anonymous
|
261
|
+
---------------------------------------------------------------------------------------
|
262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
263
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
264
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
228
265
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
229
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
266
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.211484"], ["updated_at", "2015-04-06 13:16:16.211484"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
230
267
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
231
268
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
232
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
269
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.214259"], ["updated_at", "2015-04-06 13:16:16.214259"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
233
270
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
234
271
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
235
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
272
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.216805"], ["updated_at", "2015-04-06 13:16:16.216805"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
236
273
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
237
274
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
238
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
275
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.219494"], ["updated_at", "2015-04-06 13:16:16.219494"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
239
276
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
240
277
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
241
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "41"], ["created_at", "2015-04-06 13:16:16.222129"], ["updated_at", "2015-04-06 13:16:16.222129"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
242
279
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
243
280
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
244
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "42"], ["created_at", "2015-04-06 13:16:16.224615"], ["updated_at", "2015-04-06 13:16:16.224615"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
245
282
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
246
283
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
247
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "43"], ["created_at", "2015-04-06 13:16:16.227161"], ["updated_at", "2015-04-06 13:16:16.227161"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
248
285
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
249
286
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
250
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "44"], ["created_at", "2015-04-06 13:16:16.229669"], ["updated_at", "2015-04-06 13:16:16.229669"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
251
288
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
252
289
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
253
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "45"], ["created_at", "2015-04-06 13:16:16.232350"], ["updated_at", "2015-04-06 13:16:16.232350"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
254
291
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
255
292
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
256
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "46"], ["created_at", "2015-04-06 13:16:16.234986"], ["updated_at", "2015-04-06 13:16:16.234986"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
257
294
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
258
295
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
259
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "47"], ["created_at", "2015-04-06 13:16:16.237576"], ["updated_at", "2015-04-06 13:16:16.237576"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
260
297
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
261
298
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
262
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
299
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "48"], ["created_at", "2015-04-06 13:16:16.240046"], ["updated_at", "2015-04-06 13:16:16.240046"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
263
300
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
264
301
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
265
|
-
[1m[35mSQL (0.
|
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", "49"], ["created_at", "2015-04-06 13:16:16.242544"], ["updated_at", "2015-04-06 13:16:16.242544"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
266
303
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
267
304
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
268
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "50"], ["created_at", "2015-04-06 13:16:16.245417"], ["updated_at", "2015-04-06 13:16:16.245417"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
269
306
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
270
307
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
271
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "51"], ["created_at", "2015-04-06 13:16:16.248130"], ["updated_at", "2015-04-06 13:16:16.248130"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
272
309
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
273
310
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
274
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "52"], ["created_at", "2015-04-06 13:16:16.250989"], ["updated_at", "2015-04-06 13:16:16.250989"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
275
312
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
276
313
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
277
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "53"], ["created_at", "2015-04-06 13:16:16.253695"], ["updated_at", "2015-04-06 13:16:16.253695"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
278
315
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
279
316
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
280
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "54"], ["created_at", "2015-04-06 13:16:16.256539"], ["updated_at", "2015-04-06 13:16:16.256539"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
281
318
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
282
319
|
Processing by PushType::WysiwygMediaController#index as JSON
|
283
|
-
Parameters: {"filter"=>"
|
284
|
-
[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
|
285
|
-
[1m[35m (0.
|
286
|
-
Completed 200 OK in
|
320
|
+
Parameters: {"filter"=>"image"}
|
321
|
+
[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
|
322
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
323
|
+
Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
287
324
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
288
325
|
[1m[35m (0.1ms)[0m ROLLBACK
|
289
326
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
290
|
-
|
291
|
-
PushType::WysiwygMediaController::GET #index::filtering for
|
292
|
-
|
327
|
+
---------------------------------------------------------------------------------------
|
328
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0002_anonymous
|
329
|
+
---------------------------------------------------------------------------------------
|
293
330
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
294
|
-
[1m[36m (0.
|
331
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295
332
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
296
333
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
297
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
334
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.275497"], ["updated_at", "2015-04-06 13:16:16.275497"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
298
335
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
299
336
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
300
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
337
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.278195"], ["updated_at", "2015-04-06 13:16:16.278195"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
301
338
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
302
339
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
303
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
340
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.280934"], ["updated_at", "2015-04-06 13:16:16.280934"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
304
341
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
305
342
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
306
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
343
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.283557"], ["updated_at", "2015-04-06 13:16:16.283557"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
307
344
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
308
345
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
309
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "59"], ["created_at", "2015-04-06 13:16:16.286006"], ["updated_at", "2015-04-06 13:16:16.286006"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
310
347
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
311
348
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
312
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "60"], ["created_at", "2015-04-06 13:16:16.288695"], ["updated_at", "2015-04-06 13:16:16.288695"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
313
350
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
314
351
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
315
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "61"], ["created_at", "2015-
|
352
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "61"], ["created_at", "2015-04-06 13:16:16.291245"], ["updated_at", "2015-04-06 13:16:16.291245"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
316
353
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
317
354
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
318
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "62"], ["created_at", "2015-
|
355
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "62"], ["created_at", "2015-04-06 13:16:16.293950"], ["updated_at", "2015-04-06 13:16:16.293950"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
319
356
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
320
357
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
321
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "63"], ["created_at", "2015-
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "63"], ["created_at", "2015-04-06 13:16:16.296581"], ["updated_at", "2015-04-06 13:16:16.296581"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
322
359
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
323
360
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
324
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015-
|
361
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015-04-06 13:16:16.299151"], ["updated_at", "2015-04-06 13:16:16.299151"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
325
362
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
326
363
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
327
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "65"], ["created_at", "2015-04-06 13:16:16.301684"], ["updated_at", "2015-04-06 13:16:16.301684"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
328
365
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
329
366
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
330
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "66"], ["created_at", "2015-04-06 13:16:16.304257"], ["updated_at", "2015-04-06 13:16:16.304257"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
331
368
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
332
369
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
333
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "67"], ["created_at", "2015-04-06 13:16:16.332248"], ["updated_at", "2015-04-06 13:16:16.332248"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
334
371
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
335
372
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
336
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "68"], ["created_at", "2015-04-06 13:16:16.335340"], ["updated_at", "2015-04-06 13:16:16.335340"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
337
374
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
338
375
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
339
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "69"], ["created_at", "2015-04-06 13:16:16.338335"], ["updated_at", "2015-04-06 13:16:16.338335"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
340
377
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
341
378
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
342
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "70"], ["created_at", "2015-04-06 13:16:16.341155"], ["updated_at", "2015-04-06 13:16:16.341155"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
343
380
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
344
381
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
345
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-
|
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", "71"], ["created_at", "2015-04-06 13:16:16.344082"], ["updated_at", "2015-04-06 13:16:16.344082"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
346
383
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
347
384
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
348
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-
|
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", "72"], ["created_at", "2015-04-06 13:16:16.346873"], ["updated_at", "2015-04-06 13:16:16.346873"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
349
386
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
350
387
|
Processing by PushType::WysiwygMediaController#index as JSON
|
351
|
-
Parameters: {"filter"=>"
|
352
|
-
[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
|
353
|
-
[1m[35m (0.
|
354
|
-
Completed 200 OK in
|
388
|
+
Parameters: {"filter"=>"image"}
|
389
|
+
[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
|
390
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
391
|
+
Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
355
392
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
356
393
|
[1m[35m (0.2ms)[0m ROLLBACK
|
357
394
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
358
|
-
|
359
|
-
PushType::WysiwygMediaController::POST #create::with valid asset:
|
360
|
-
|
395
|
+
----------------------------------------------------------------------------------------
|
396
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0001_anonymous
|
397
|
+
----------------------------------------------------------------------------------------
|
361
398
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
362
399
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
363
400
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
364
401
|
Processing by PushType::WysiwygMediaController#create as JSON
|
365
|
-
Parameters: {"asset"=>{
|
402
|
+
Parameters: {"asset"=>{}}
|
366
403
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
367
|
-
[1m[
|
368
|
-
|
369
|
-
Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
370
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
371
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
372
|
-
[1m[35m (0.1ms)[0m BEGIN
|
373
|
-
-------------------------------------------------------------------------------------
|
374
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
|
375
|
-
-------------------------------------------------------------------------------------
|
376
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
377
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
378
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
379
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
380
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fec03965130 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150310-31430-pvl1v2>>}}
|
381
|
-
[1m[35m (0.2ms)[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", "74"], ["created_at", "2015-03-10 19:22:26.240925"], ["updated_at", "2015-03-10 19:22:26.240925"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
383
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
384
|
-
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
404
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
405
|
+
Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
385
406
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
386
407
|
[1m[35m (0.1ms)[0m ROLLBACK
|
387
408
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
388
|
-
-------------------------------------------------------------------------------------
|
389
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
|
390
|
-
-------------------------------------------------------------------------------------
|
391
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
392
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
393
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
394
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
395
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007febfdf2f5d0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150310-31430-sezb2e>>}}
|
396
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
397
|
-
[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", "75"], ["created_at", "2015-03-10 19:22:26.249228"], ["updated_at", "2015-03-10 19:22:26.249228"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
398
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
399
|
-
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
400
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
401
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
402
|
-
[1m[35m (0.1ms)[0m BEGIN
|
403
409
|
----------------------------------------------------------------------------------------
|
404
410
|
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
|
405
411
|
----------------------------------------------------------------------------------------
|
406
|
-
[1m[
|
407
|
-
[1m[
|
408
|
-
[1m[
|
409
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
410
|
-
Parameters: {"asset"=>{}}
|
411
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
412
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
413
|
-
Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
414
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
415
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
416
|
-
[1m[35m (0.1ms)[0m BEGIN
|
417
|
-
----------------------------------------------------------------------------------------
|
418
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0001_anonymous
|
419
|
-
----------------------------------------------------------------------------------------
|
420
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
421
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
422
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
412
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
413
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
414
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
423
415
|
Processing by PushType::WysiwygMediaController#create as JSON
|
424
416
|
Parameters: {"asset"=>{}}
|
425
|
-
[1m[
|
426
|
-
[1m[
|
417
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
418
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
427
419
|
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
428
|
-
[1m[
|
429
|
-
[1m[
|
430
|
-
[1m[
|
420
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
421
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
422
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
431
423
|
----------------------------------------------------------------------------------------
|
432
424
|
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
|
433
425
|
----------------------------------------------------------------------------------------
|
434
|
-
[1m[
|
435
|
-
[1m[
|
436
|
-
[1m[
|
426
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
427
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
428
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
437
429
|
Processing by PushType::WysiwygMediaController#create as JSON
|
438
430
|
Parameters: {"asset"=>{}}
|
439
|
-
[1m[
|
440
|
-
[1m[
|
431
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
432
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
441
433
|
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
434
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
435
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
436
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
437
|
+
-------------------------------------------------------------------------------------
|
438
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
|
439
|
+
-------------------------------------------------------------------------------------
|
440
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
441
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
442
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
443
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
444
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fd544ad83f8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150406-22663-1wysri9>>}}
|
445
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
446
|
+
[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", "73"], ["created_at", "2015-04-06 13:16:16.395955"], ["updated_at", "2015-04-06 13:16:16.395955"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
447
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
448
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
442
449
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
443
450
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
444
451
|
[1m[35m (0.1ms)[0m BEGIN
|
445
|
-
|
446
|
-
PushType::
|
447
|
-
|
448
|
-
[1m[36m (0.
|
452
|
+
-------------------------------------------------------------------------------------
|
453
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
|
454
|
+
-------------------------------------------------------------------------------------
|
455
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
449
456
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
450
457
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
458
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
459
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fd5449b2ff0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150406-22663-f0e9hn>>}}
|
451
460
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
452
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
461
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.404764"], ["updated_at", "2015-04-06 13:16:16.404764"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
453
462
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
463
|
+
Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
454
464
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
455
465
|
[1m[35m (0.1ms)[0m ROLLBACK
|
456
466
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
457
|
-
|
458
|
-
PushType::
|
459
|
-
|
467
|
+
-------------------------------------------------------------------------------------
|
468
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
|
469
|
+
-------------------------------------------------------------------------------------
|
460
470
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
461
471
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
462
472
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
473
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
474
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fd548e3c838 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150406-22663-xq2z15>>}}
|
463
475
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
464
|
-
[1m[35mSQL (0.
|
476
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "75"], ["created_at", "2015-04-06 13:16:16.414034"], ["updated_at", "2015-04-06 13:16:16.414034"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
465
477
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
478
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
466
479
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
467
480
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
468
481
|
[1m[35m (0.1ms)[0m BEGIN
|
469
|
-
|
470
|
-
PushType::
|
471
|
-
|
482
|
+
--------------------------------------------------------------------------------------
|
483
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0001_anonymous
|
484
|
+
--------------------------------------------------------------------------------------
|
472
485
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
473
486
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
474
487
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
475
488
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
476
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
489
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "76"], ["created_at", "2015-04-06 13:16:16.420777"], ["updated_at", "2015-04-06 13:16:16.420777"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
477
490
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
478
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
479
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
480
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
481
|
-
----------------------------------------------------------------------
|
482
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
483
|
-
----------------------------------------------------------------------
|
484
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
485
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
486
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
487
491
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
488
|
-
[1m[35mSQL (0.
|
492
|
+
[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-04-06 13:16:16.423549"], ["updated_at", "2015-04-06 13:16:16.423549"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
489
493
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
490
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
491
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
492
|
-
[1m[35m (0.1ms)[0m BEGIN
|
493
|
-
----------------------------------------------------------------------
|
494
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
495
|
-
----------------------------------------------------------------------
|
496
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
497
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
498
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
499
494
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
500
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
495
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "78"], ["created_at", "2015-04-06 13:16:16.426300"], ["updated_at", "2015-04-06 13:16:16.426300"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
501
496
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
502
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
503
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
504
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
505
|
-
----------------------------------------------------------------------
|
506
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
|
507
|
-
----------------------------------------------------------------------
|
508
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
509
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
510
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
511
497
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
512
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
498
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "79"], ["created_at", "2015-04-06 13:16:16.429027"], ["updated_at", "2015-04-06 13:16:16.429027"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
513
499
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
514
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
515
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
516
|
-
[1m[35m (0.1ms)[0m BEGIN
|
517
|
-
----------------------------------------------------------------------
|
518
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
|
519
|
-
----------------------------------------------------------------------
|
520
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
521
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
522
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
523
500
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
524
|
-
[1m[36mSQL (0.
|
501
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "80"], ["created_at", "2015-04-06 13:16:16.431781"], ["updated_at", "2015-04-06 13:16:16.431781"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
525
502
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
526
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
527
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
528
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
529
|
-
---------------------------------------------------------------------------------------
|
530
|
-
PushType::WysiwygMediaController::GET #index::filtering for images: test_0003_anonymous
|
531
|
-
---------------------------------------------------------------------------------------
|
532
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
533
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
534
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
535
503
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
536
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
504
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "81"], ["created_at", "2015-04-06 13:16:16.434434"], ["updated_at", "2015-04-06 13:16:16.434434"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
537
505
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
538
506
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
539
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
507
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "82"], ["created_at", "2015-04-06 13:16:16.436976"], ["updated_at", "2015-04-06 13:16:16.436976"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
540
508
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
541
509
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
542
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
510
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "83"], ["created_at", "2015-04-06 13:16:16.439525"], ["updated_at", "2015-04-06 13:16:16.439525"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
543
511
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
544
512
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
545
|
-
[1m[36mSQL (0.
|
513
|
+
[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", "84"], ["created_at", "2015-04-06 13:16:16.442427"], ["updated_at", "2015-04-06 13:16:16.442427"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
546
514
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
547
515
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
548
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
516
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "85"], ["created_at", "2015-04-06 13:16:16.445290"], ["updated_at", "2015-04-06 13:16:16.445290"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
549
517
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
550
518
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
551
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
519
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "86"], ["created_at", "2015-04-06 13:16:16.447909"], ["updated_at", "2015-04-06 13:16:16.447909"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
552
520
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
553
521
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
554
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
522
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "87"], ["created_at", "2015-04-06 13:16:16.451401"], ["updated_at", "2015-04-06 13:16:16.451401"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
555
523
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
556
524
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
557
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
525
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.454322"], ["updated_at", "2015-04-06 13:16:16.454322"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
558
526
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
559
527
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
560
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
528
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.457029"], ["updated_at", "2015-04-06 13:16:16.457029"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
561
529
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
562
530
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
563
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
531
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.459918"], ["updated_at", "2015-04-06 13:16:16.459918"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
564
532
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
565
533
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
566
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
534
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "91"], ["created_at", "2015-04-06 13:16:16.462529"], ["updated_at", "2015-04-06 13:16:16.462529"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
567
535
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
568
536
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
569
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
537
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "92"], ["created_at", "2015-04-06 13:16:16.465219"], ["updated_at", "2015-04-06 13:16:16.465219"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
570
538
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
571
539
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
572
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
540
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "93"], ["created_at", "2015-04-06 13:16:16.467798"], ["updated_at", "2015-04-06 13:16:16.467798"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
573
541
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
542
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
543
|
+
Parameters: {"filter"=>"file"}
|
544
|
+
[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
|
545
|
+
[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
|
546
|
+
Completed 200 OK in 17ms (Views: 0.8ms | ActiveRecord: 0.6ms)
|
547
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
548
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
549
|
+
[1m[35m (0.1ms)[0m BEGIN
|
550
|
+
--------------------------------------------------------------------------------------
|
551
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0002_anonymous
|
552
|
+
--------------------------------------------------------------------------------------
|
553
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
554
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
555
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
574
556
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
575
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
557
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "94"], ["created_at", "2015-04-06 13:16:16.493492"], ["updated_at", "2015-04-06 13:16:16.493492"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
576
558
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
577
559
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
578
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
560
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "95"], ["created_at", "2015-04-06 13:16:16.496885"], ["updated_at", "2015-04-06 13:16:16.496885"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
579
561
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
580
562
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
581
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
563
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "96"], ["created_at", "2015-04-06 13:16:16.499630"], ["updated_at", "2015-04-06 13:16:16.499630"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
582
564
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
583
565
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
584
|
-
[1m[35mSQL (0.
|
566
|
+
[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", "97"], ["created_at", "2015-04-06 13:16:16.502036"], ["updated_at", "2015-04-06 13:16:16.502036"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
585
567
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
586
568
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
587
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
569
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "98"], ["created_at", "2015-04-06 13:16:16.504853"], ["updated_at", "2015-04-06 13:16:16.504853"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
588
570
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
589
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
590
|
-
Parameters: {"filter"=>"image"}
|
591
|
-
[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
|
592
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
593
|
-
Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
594
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
595
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
596
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
597
|
-
---------------------------------------------------------------------------------------
|
598
|
-
PushType::WysiwygMediaController::GET #index::filtering for images: test_0002_anonymous
|
599
|
-
---------------------------------------------------------------------------------------
|
600
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
601
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
602
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
603
571
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
604
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
572
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "99"], ["created_at", "2015-04-06 13:16:16.507361"], ["updated_at", "2015-04-06 13:16:16.507361"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
605
573
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
606
574
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
607
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
575
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "100"], ["created_at", "2015-04-06 13:16:16.509758"], ["updated_at", "2015-04-06 13:16:16.509758"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
608
576
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
609
577
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
610
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
578
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "101"], ["created_at", "2015-04-06 13:16:16.512259"], ["updated_at", "2015-04-06 13:16:16.512259"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
611
579
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
612
580
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
613
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
581
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "102"], ["created_at", "2015-04-06 13:16:16.514641"], ["updated_at", "2015-04-06 13:16:16.514641"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
614
582
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
615
583
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
616
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
584
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.517245"], ["updated_at", "2015-04-06 13:16:16.517245"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
617
585
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
618
586
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
619
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
587
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "104"], ["created_at", "2015-04-06 13:16:16.519669"], ["updated_at", "2015-04-06 13:16:16.519669"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
620
588
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
621
589
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
622
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
590
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "105"], ["created_at", "2015-04-06 13:16:16.522135"], ["updated_at", "2015-04-06 13:16:16.522135"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
623
591
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
624
592
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
625
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
593
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.524589"], ["updated_at", "2015-04-06 13:16:16.524589"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
626
594
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
627
595
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
628
|
-
[1m[35mSQL (0.
|
596
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.527220"], ["updated_at", "2015-04-06 13:16:16.527220"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
629
597
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
630
598
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
631
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
599
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.529695"], ["updated_at", "2015-04-06 13:16:16.529695"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
632
600
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
633
601
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
634
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
602
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "109"], ["created_at", "2015-04-06 13:16:16.532060"], ["updated_at", "2015-04-06 13:16:16.532060"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
635
603
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
636
604
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
637
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
605
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "110"], ["created_at", "2015-04-06 13:16:16.534565"], ["updated_at", "2015-04-06 13:16:16.534565"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
638
606
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
639
607
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
640
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
608
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "111"], ["created_at", "2015-04-06 13:16:16.537012"], ["updated_at", "2015-04-06 13:16:16.537012"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
641
609
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
610
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
611
|
+
Parameters: {"filter"=>"file"}
|
612
|
+
[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
|
613
|
+
[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
|
614
|
+
Completed 200 OK in 13ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
615
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
616
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
617
|
+
[1m[35m (0.1ms)[0m BEGIN
|
618
|
+
--------------------------------------------------------------------------------------
|
619
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0004_anonymous
|
620
|
+
--------------------------------------------------------------------------------------
|
621
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
622
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
623
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
642
624
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
643
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
625
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "112"], ["created_at", "2015-04-06 13:16:16.557857"], ["updated_at", "2015-04-06 13:16:16.557857"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
644
626
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
645
627
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
646
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
628
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "113"], ["created_at", "2015-04-06 13:16:16.560538"], ["updated_at", "2015-04-06 13:16:16.560538"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
647
629
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
648
630
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
649
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
631
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "114"], ["created_at", "2015-04-06 13:16:16.562973"], ["updated_at", "2015-04-06 13:16:16.562973"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
650
632
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
651
633
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
652
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
634
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "115"], ["created_at", "2015-04-06 13:16:16.565421"], ["updated_at", "2015-04-06 13:16:16.565421"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
653
635
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
654
636
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
655
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
637
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "116"], ["created_at", "2015-04-06 13:16:16.568063"], ["updated_at", "2015-04-06 13:16:16.568063"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
656
638
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
657
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
658
|
-
Parameters: {"filter"=>"image"}
|
659
|
-
[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
|
660
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
661
|
-
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
662
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
663
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
664
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
665
|
-
---------------------------------------------------------------------------------------
|
666
|
-
PushType::WysiwygMediaController::GET #index::filtering for images: test_0001_anonymous
|
667
|
-
---------------------------------------------------------------------------------------
|
668
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
669
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
670
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
671
639
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
672
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
640
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "117"], ["created_at", "2015-04-06 13:16:16.570690"], ["updated_at", "2015-04-06 13:16:16.570690"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
673
641
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
674
642
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
675
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
643
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "118"], ["created_at", "2015-04-06 13:16:16.573134"], ["updated_at", "2015-04-06 13:16:16.573134"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
676
644
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
677
645
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
678
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
646
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "119"], ["created_at", "2015-04-06 13:16:16.575628"], ["updated_at", "2015-04-06 13:16:16.575628"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
679
647
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
680
648
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
681
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
649
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "120"], ["created_at", "2015-04-06 13:16:16.579017"], ["updated_at", "2015-04-06 13:16:16.579017"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
682
650
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
683
651
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
684
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
652
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "121"], ["created_at", "2015-04-06 13:16:16.581503"], ["updated_at", "2015-04-06 13:16:16.581503"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
685
653
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
686
654
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
687
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
655
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "122"], ["created_at", "2015-04-06 13:16:16.583872"], ["updated_at", "2015-04-06 13:16:16.583872"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
688
656
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
689
657
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
690
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
658
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "123"], ["created_at", "2015-04-06 13:16:16.586320"], ["updated_at", "2015-04-06 13:16:16.586320"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
691
659
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
692
660
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
693
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
661
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.588742"], ["updated_at", "2015-04-06 13:16:16.588742"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
694
662
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
695
663
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
696
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
664
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.591608"], ["updated_at", "2015-04-06 13:16:16.591608"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
697
665
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
698
666
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
699
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
667
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.594231"], ["updated_at", "2015-04-06 13:16:16.594231"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
700
668
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
701
669
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
702
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
670
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "127"], ["created_at", "2015-04-06 13:16:16.596698"], ["updated_at", "2015-04-06 13:16:16.596698"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
703
671
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
704
672
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
705
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
673
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "128"], ["created_at", "2015-04-06 13:16:16.599156"], ["updated_at", "2015-04-06 13:16:16.599156"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
706
674
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
707
675
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
708
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
676
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "129"], ["created_at", "2015-04-06 13:16:16.601637"], ["updated_at", "2015-04-06 13:16:16.601637"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
709
677
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
678
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
679
|
+
Parameters: {"filter"=>"file"}
|
680
|
+
[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
|
681
|
+
[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
|
682
|
+
Completed 200 OK in 13ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
683
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
684
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
685
|
+
[1m[35m (0.1ms)[0m BEGIN
|
686
|
+
--------------------------------------------------------------------------------------
|
687
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0003_anonymous
|
688
|
+
--------------------------------------------------------------------------------------
|
689
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
690
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
691
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
710
692
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
711
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
693
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "130"], ["created_at", "2015-04-06 13:16:16.622532"], ["updated_at", "2015-04-06 13:16:16.622532"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
712
694
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
713
695
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
714
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
696
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "131"], ["created_at", "2015-04-06 13:16:16.625166"], ["updated_at", "2015-04-06 13:16:16.625166"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
715
697
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
716
698
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
717
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
699
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "132"], ["created_at", "2015-04-06 13:16:16.627559"], ["updated_at", "2015-04-06 13:16:16.627559"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
718
700
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
719
701
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
720
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
702
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "133"], ["created_at", "2015-04-06 13:16:16.629905"], ["updated_at", "2015-04-06 13:16:16.629905"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
721
703
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
722
704
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
723
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
705
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "134"], ["created_at", "2015-04-06 13:16:16.632493"], ["updated_at", "2015-04-06 13:16:16.632493"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
724
706
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
725
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
726
|
-
Parameters: {"filter"=>"image"}
|
727
|
-
[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
|
728
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
729
|
-
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
730
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
731
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
732
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
733
|
-
---------------------------------------------------------------------------------------
|
734
|
-
PushType::WysiwygMediaController::GET #index::filtering for images: test_0004_anonymous
|
735
|
-
---------------------------------------------------------------------------------------
|
736
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
737
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
738
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
739
707
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
740
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
708
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "135"], ["created_at", "2015-04-06 13:16:16.634985"], ["updated_at", "2015-04-06 13:16:16.634985"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
741
709
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
742
710
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
743
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
711
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "136"], ["created_at", "2015-04-06 13:16:16.637413"], ["updated_at", "2015-04-06 13:16:16.637413"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
744
712
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
745
713
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
746
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
714
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "137"], ["created_at", "2015-04-06 13:16:16.639852"], ["updated_at", "2015-04-06 13:16:16.639852"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
747
715
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
748
716
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
749
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
717
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "138"], ["created_at", "2015-04-06 13:16:16.642336"], ["updated_at", "2015-04-06 13:16:16.642336"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
750
718
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
751
719
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
752
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
720
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "139"], ["created_at", "2015-04-06 13:16:16.644894"], ["updated_at", "2015-04-06 13:16:16.644894"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
753
721
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
754
722
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
755
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
723
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "140"], ["created_at", "2015-04-06 13:16:16.647368"], ["updated_at", "2015-04-06 13:16:16.647368"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
756
724
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
757
725
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
758
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
726
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "141"], ["created_at", "2015-04-06 13:16:16.649887"], ["updated_at", "2015-04-06 13:16:16.649887"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
759
727
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
760
728
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
761
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
729
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.652218"], ["updated_at", "2015-04-06 13:16:16.652218"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
762
730
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
763
731
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
764
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
732
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.654811"], ["updated_at", "2015-04-06 13:16:16.654811"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
765
733
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
766
734
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
767
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
735
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.657529"], ["updated_at", "2015-04-06 13:16:16.657529"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
768
736
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
769
737
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
770
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
738
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "145"], ["created_at", "2015-04-06 13:16:16.660255"], ["updated_at", "2015-04-06 13:16:16.660255"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
771
739
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
772
740
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
773
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
741
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "146"], ["created_at", "2015-04-06 13:16:16.662800"], ["updated_at", "2015-04-06 13:16:16.662800"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
774
742
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
775
743
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
776
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
744
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "147"], ["created_at", "2015-04-06 13:16:16.665249"], ["updated_at", "2015-04-06 13:16:16.665249"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
745
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
746
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
747
|
+
Parameters: {"filter"=>"file"}
|
748
|
+
[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
|
749
|
+
[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
|
750
|
+
Completed 200 OK in 13ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
751
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
752
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
753
|
+
[1m[35m (0.1ms)[0m BEGIN
|
754
|
+
--------------------------------------------------------------------------------
|
755
|
+
PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
|
756
|
+
--------------------------------------------------------------------------------
|
757
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
758
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
759
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
760
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
761
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
762
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fd54bada610 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150406-22663-zkzn91>>}}
|
763
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
764
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "148"], ["created_at", "2015-04-06 13:16:16.692040"], ["updated_at", "2015-04-06 13:16:16.692040"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
765
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
766
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
767
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
768
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
769
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
770
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
771
|
+
-----------------------------------------------------------------------
|
772
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
773
|
+
-----------------------------------------------------------------------
|
774
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
775
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
776
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
777
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
778
|
+
[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", "149"], ["created_at", "2015-04-06 13:16:16.700005"], ["updated_at", "2015-04-06 13:16:16.700005"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
777
779
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
778
780
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
779
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
781
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "150"], ["created_at", "2015-04-06 13:16:16.702953"], ["updated_at", "2015-04-06 13:16:16.702953"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
780
782
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
781
783
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
782
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
784
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "151"], ["created_at", "2015-04-06 13:16:16.705402"], ["updated_at", "2015-04-06 13:16:16.705402"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
783
785
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
784
786
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
785
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
787
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "152"], ["created_at", "2015-04-06 13:16:16.707798"], ["updated_at", "2015-04-06 13:16:16.707798"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
788
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
789
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
790
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
791
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
792
|
+
[1m[35m (0.1ms)[0m BEGIN
|
793
|
+
-----------------------------------------------------------------------
|
794
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
795
|
+
-----------------------------------------------------------------------
|
796
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
797
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
798
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
799
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "153"], ["created_at", "2015-04-06 13:16:16.712878"], ["updated_at", "2015-04-06 13:16:16.712878"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
786
801
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
787
802
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
788
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "154"], ["created_at", "2015-04-06 13:16:16.715429"], ["updated_at", "2015-04-06 13:16:16.715429"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
789
804
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
790
805
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
791
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "155"], ["created_at", "2015-04-06 13:16:16.718062"], ["updated_at", "2015-04-06 13:16:16.718062"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
792
807
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
793
|
-
|
794
|
-
|
795
|
-
[1m[
|
796
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
797
|
-
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
808
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
809
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "156"], ["created_at", "2015-04-06 13:16:16.720515"], ["updated_at", "2015-04-06 13:16:16.720515"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
810
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
811
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
798
812
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
799
813
|
[1m[35m (0.1ms)[0m ROLLBACK
|
800
814
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
801
|
-
|
802
|
-
PushType::
|
803
|
-
|
804
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
805
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
815
|
+
-----------------------------------------------------------------------
|
816
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
|
817
|
+
-----------------------------------------------------------------------
|
806
818
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
819
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
820
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
807
821
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
808
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
822
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "157"], ["created_at", "2015-04-06 13:16:16.725626"], ["updated_at", "2015-04-06 13:16:16.725626"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
809
823
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
810
824
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
811
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
825
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "158"], ["created_at", "2015-04-06 13:16:16.728053"], ["updated_at", "2015-04-06 13:16:16.728053"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
812
826
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
813
827
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
814
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
828
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "159"], ["created_at", "2015-04-06 13:16:16.730501"], ["updated_at", "2015-04-06 13:16:16.730501"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
815
829
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
816
830
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
817
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
831
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "160"], ["created_at", "2015-04-06 13:16:16.732895"], ["updated_at", "2015-04-06 13:16:16.732895"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
818
832
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
819
|
-
[1m[36m (0.1ms)[0m [
|
820
|
-
[1m[
|
821
|
-
[1m[36m (0.1ms)[0m [
|
833
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
834
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
835
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
836
|
+
[1m[35m (0.1ms)[0m BEGIN
|
837
|
+
-----------------------------------------------------------------------
|
838
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0005_anonymous
|
839
|
+
-----------------------------------------------------------------------
|
840
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
841
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
842
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
822
843
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
823
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
844
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "161"], ["created_at", "2015-04-06 13:16:16.737702"], ["updated_at", "2015-04-06 13:16:16.737702"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
824
845
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
825
846
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
826
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
847
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "162"], ["created_at", "2015-04-06 13:16:16.740343"], ["updated_at", "2015-04-06 13:16:16.740343"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
827
848
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
828
849
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
829
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
850
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "163"], ["created_at", "2015-04-06 13:16:16.742862"], ["updated_at", "2015-04-06 13:16:16.742862"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
830
851
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
831
852
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
832
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
853
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "164"], ["created_at", "2015-04-06 13:16:16.745361"], ["updated_at", "2015-04-06 13:16:16.745361"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
854
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
855
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
856
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
857
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
858
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
859
|
+
-----------------------------------------------------------------------
|
860
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0002_anonymous
|
861
|
+
-----------------------------------------------------------------------
|
862
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
863
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
864
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
865
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
866
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "165"], ["created_at", "2015-04-06 13:16:16.750635"], ["updated_at", "2015-04-06 13:16:16.750635"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
833
867
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
834
868
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
835
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
869
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.753240"], ["updated_at", "2015-04-06 13:16:16.753240"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
836
870
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
837
871
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
838
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
872
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.755765"], ["updated_at", "2015-04-06 13:16:16.755765"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
839
873
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
840
874
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
841
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
875
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.758247"], ["updated_at", "2015-04-06 13:16:16.758247"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
876
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
877
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
878
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
879
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
880
|
+
[1m[35m (0.1ms)[0m BEGIN
|
881
|
+
----------------------------------------------------------------------
|
882
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
|
883
|
+
----------------------------------------------------------------------
|
884
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
885
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
886
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
887
|
+
[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", "image.png"], ["file_size", 2643], ["file_uid", "169"], ["created_at", "2015-04-06 13:16:16.764171"], ["updated_at", "2015-04-06 13:16:16.764171"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
842
889
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
890
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
891
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
892
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
893
|
+
----------------------------------------------------------------------
|
894
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
|
895
|
+
----------------------------------------------------------------------
|
896
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
897
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
898
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
843
899
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
844
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
900
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "170"], ["created_at", "2015-04-06 13:16:16.770673"], ["updated_at", "2015-04-06 13:16:16.770673"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
845
901
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
902
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
903
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
904
|
+
[1m[35m (0.1ms)[0m BEGIN
|
905
|
+
----------------------------------------------------------------------
|
906
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
|
907
|
+
----------------------------------------------------------------------
|
908
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
909
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
910
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
846
911
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
847
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
912
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.777011"], ["updated_at", "2015-04-06 13:16:16.777011"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
848
913
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
914
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
915
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
916
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
917
|
+
----------------------------------------------------------------------
|
918
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
919
|
+
----------------------------------------------------------------------
|
920
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
921
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
922
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
849
923
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
850
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
924
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "172"], ["created_at", "2015-04-06 13:16:16.783218"], ["updated_at", "2015-04-06 13:16:16.783218"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
851
925
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
926
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
927
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
928
|
+
[1m[35m (0.1ms)[0m BEGIN
|
929
|
+
----------------------------------------------------------------------
|
930
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
931
|
+
----------------------------------------------------------------------
|
932
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
933
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
934
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
852
935
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
853
|
-
[1m[36mSQL (0.
|
936
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.789798"], ["updated_at", "2015-04-06 13:16:16.789798"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
854
937
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
938
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
939
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
940
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
941
|
+
----------------------------------------------------------------------
|
942
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
|
943
|
+
----------------------------------------------------------------------
|
944
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
945
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
946
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
855
947
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
856
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
948
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "174"], ["created_at", "2015-04-06 13:16:16.796192"], ["updated_at", "2015-04-06 13:16:16.796192"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
857
949
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
950
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
951
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
952
|
+
[1m[35m (0.0ms)[0m BEGIN
|
953
|
+
----------------------------------------------------------------------
|
954
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
955
|
+
----------------------------------------------------------------------
|
956
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
957
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
958
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
858
959
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
859
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
960
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "175"], ["created_at", "2015-04-06 13:16:16.802033"], ["updated_at", "2015-04-06 13:16:16.802033"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
860
961
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
861
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
862
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
863
|
-
[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
|
864
|
-
[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/%')
|
865
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
866
962
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
867
963
|
[1m[35m (0.1ms)[0m ROLLBACK
|
868
964
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
869
|
-
|
870
|
-
PushType::
|
871
|
-
|
965
|
+
-----------------------------------------------------------------------
|
966
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
967
|
+
-----------------------------------------------------------------------
|
872
968
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
873
969
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
874
970
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
875
971
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
876
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "176"], ["created_at", "2015-04-06 13:16:16.809022"], ["updated_at", "2015-04-06 13:16:16.809022"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
877
973
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
878
974
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
879
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
975
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "177"], ["created_at", "2015-04-06 13:16:16.811727"], ["updated_at", "2015-04-06 13:16:16.811727"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
880
976
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
881
977
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
882
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
978
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.814237"], ["updated_at", "2015-04-06 13:16:16.814237"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
883
979
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
884
980
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
885
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
981
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.816700"], ["updated_at", "2015-04-06 13:16:16.816700"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
886
982
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
983
|
+
[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
|
984
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
985
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
986
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
987
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
988
|
+
-----------------------------------------------------------------------
|
989
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
|
990
|
+
-----------------------------------------------------------------------
|
991
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
992
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
993
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
887
994
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
888
|
-
[1m[35mSQL (0.
|
995
|
+
[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", "180"], ["created_at", "2015-04-06 13:16:16.826206"], ["updated_at", "2015-04-06 13:16:16.826206"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
889
996
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
890
997
|
[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", "
|
998
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "181"], ["created_at", "2015-04-06 13:16:16.828972"], ["updated_at", "2015-04-06 13:16:16.828972"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
892
999
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
893
1000
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
894
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1001
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "182"], ["created_at", "2015-04-06 13:16:16.831416"], ["updated_at", "2015-04-06 13:16:16.831416"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
895
1002
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
896
1003
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
897
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1004
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "183"], ["created_at", "2015-04-06 13:16:16.834071"], ["updated_at", "2015-04-06 13:16:16.834071"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
898
1005
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1006
|
+
[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
|
1007
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1008
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1009
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1010
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1011
|
+
-----------------------------------------------------------------------
|
1012
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
1013
|
+
-----------------------------------------------------------------------
|
1014
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1015
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1016
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
899
1017
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
900
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1018
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "184"], ["created_at", "2015-04-06 13:16:16.843946"], ["updated_at", "2015-04-06 13:16:16.843946"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
901
1019
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
902
1020
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
903
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1021
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "185"], ["created_at", "2015-04-06 13:16:16.846603"], ["updated_at", "2015-04-06 13:16:16.846603"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
904
1022
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
905
1023
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
906
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1024
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "186"], ["created_at", "2015-04-06 13:16:16.848961"], ["updated_at", "2015-04-06 13:16:16.848961"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
907
1025
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
908
1026
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
909
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1027
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "187"], ["created_at", "2015-04-06 13:16:16.851537"], ["updated_at", "2015-04-06 13:16:16.851537"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
910
1028
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1029
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
1030
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1031
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1032
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1033
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1034
|
+
-----------------------------------------------------------------------
|
1035
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
1036
|
+
-----------------------------------------------------------------------
|
1037
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1038
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1039
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
911
1040
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
912
|
-
[1m[35mSQL (0.
|
1041
|
+
[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", "188"], ["created_at", "2015-04-06 13:16:16.926108"], ["updated_at", "2015-04-06 13:16:16.926108"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
913
1042
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
914
1043
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
915
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1044
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.941297"], ["updated_at", "2015-04-06 13:16:16.941297"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
916
1045
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
917
1046
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
918
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1047
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.944029"], ["updated_at", "2015-04-06 13:16:16.944029"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
919
1048
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
920
1049
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
921
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1050
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.946414"], ["updated_at", "2015-04-06 13:16:16.946414"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
922
1051
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1052
|
+
[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
|
1053
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1054
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1055
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1056
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1057
|
+
-----------------------------------------------------------------------
|
1058
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
1059
|
+
-----------------------------------------------------------------------
|
1060
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1061
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1062
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
923
1063
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
924
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1064
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "192"], ["created_at", "2015-04-06 13:16:16.956117"], ["updated_at", "2015-04-06 13:16:16.956117"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
925
1065
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
926
1066
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
927
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1067
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "193"], ["created_at", "2015-04-06 13:16:16.958881"], ["updated_at", "2015-04-06 13:16:16.958881"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
928
1068
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
929
|
-
|
930
|
-
|
931
|
-
[1m[
|
932
|
-
[1m[35m (0.
|
933
|
-
|
1069
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1070
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.961448"], ["updated_at", "2015-04-06 13:16:16.961448"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1071
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1072
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1073
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.963878"], ["updated_at", "2015-04-06 13:16:16.963878"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1074
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1075
|
+
[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
|
1076
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
934
1077
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
935
1078
|
[1m[35m (0.1ms)[0m ROLLBACK
|
936
|
-
[1m[36m (0.
|
1079
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
937
1080
|
----------------------------------------------------------------------------------
|
938
|
-
PushType::WysiwygMediaController::GET #index::with pagination:
|
1081
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0001_anonymous
|
939
1082
|
----------------------------------------------------------------------------------
|
940
|
-
[1m[35m (0.
|
941
|
-
[1m[36m (0.
|
942
|
-
[1m[35m (0.
|
1083
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1085
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
943
1086
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
944
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1087
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.974828"], ["updated_at", "2015-04-06 13:16:16.974828"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
945
1088
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
946
1089
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
947
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1090
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.977434"], ["updated_at", "2015-04-06 13:16:16.977434"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
948
1091
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
949
1092
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
950
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1093
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:16.979861"], ["updated_at", "2015-04-06 13:16:16.979861"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
951
1094
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
952
1095
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
953
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1096
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:16.982296"], ["updated_at", "2015-04-06 13:16:16.982296"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
954
1097
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
955
1098
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
956
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "200"], ["created_at", "2015-04-06 13:16:16.984883"], ["updated_at", "2015-04-06 13:16:16.984883"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
957
1100
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
958
1101
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
959
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["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", "document.pdf"], ["file_size", 15356], ["file_uid", "201"], ["created_at", "2015-04-06 13:16:16.987283"], ["updated_at", "2015-04-06 13:16:16.987283"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
960
1103
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
961
1104
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
962
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["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", "document.pdf"], ["file_size", 15356], ["file_uid", "202"], ["created_at", "2015-04-06 13:16:16.989943"], ["updated_at", "2015-04-06 13:16:16.989943"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
963
1106
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
964
1107
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
965
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "203"], ["created_at", "2015-04-06 13:16:16.992722"], ["updated_at", "2015-04-06 13:16:16.992722"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
966
1109
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
967
1110
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
968
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "204"], ["created_at", "2015-04-06 13:16:16.995439"], ["updated_at", "2015-04-06 13:16:16.995439"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
969
1112
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
970
1113
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
971
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "205"], ["created_at", "2015-04-06 13:16:16.998194"], ["updated_at", "2015-04-06 13:16:16.998194"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
972
1115
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
973
1116
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
974
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "206"], ["created_at", "2015-04-06 13:16:17.000716"], ["updated_at", "2015-04-06 13:16:17.000716"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
975
1118
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
976
1119
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
977
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "207"], ["created_at", "2015-04-06 13:16:17.003341"], ["updated_at", "2015-04-06 13:16:17.003341"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
978
1121
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
979
1122
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
980
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "208"], ["created_at", "2015-04-06 13:16:17.005746"], ["updated_at", "2015-04-06 13:16:17.005746"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
981
1124
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
982
1125
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
983
|
-
[1m[36mSQL (0.
|
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", "209"], ["created_at", "2015-04-06 13:16:17.008229"], ["updated_at", "2015-04-06 13:16:17.008229"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
984
1127
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
985
1128
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
986
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "210"], ["created_at", "2015-04-06 13:16:17.010843"], ["updated_at", "2015-04-06 13:16:17.010843"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
987
1130
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
988
1131
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
989
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "211"], ["created_at", "2015-04-06 13:16:17.013310"], ["updated_at", "2015-04-06 13:16:17.013310"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
990
1133
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
991
1134
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
992
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "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", "212"], ["created_at", "2015-04-06 13:16:17.015777"], ["updated_at", "2015-04-06 13:16:17.015777"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
993
1136
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
994
1137
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
995
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "213"], ["created_at", "2015-04-06 13:16:17.018229"], ["updated_at", "2015-04-06 13:16:17.018229"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
996
1139
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
997
1140
|
Processing by PushType::WysiwygMediaController#index as JSON
|
998
1141
|
Parameters: {"filter"=>"file", "page"=>2}
|
999
1142
|
[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
|
1000
|
-
[1m[35m (0.
|
1001
|
-
Completed 200 OK in
|
1143
|
+
[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/%')
|
1144
|
+
Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
1002
1145
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1003
1146
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1004
1147
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
@@ -1007,60 +1150,60 @@ PushType::WysiwygMediaController::GET #index::with pagination: test_0002_anonymo
|
|
1007
1150
|
----------------------------------------------------------------------------------
|
1008
1151
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1009
1152
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1010
|
-
[1m[35m (0.
|
1153
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1011
1154
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1012
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1155
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:17.036235"], ["updated_at", "2015-04-06 13:16:17.036235"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1013
1156
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1014
1157
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1015
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1158
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:17.038879"], ["updated_at", "2015-04-06 13:16:17.038879"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1016
1159
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1017
1160
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1018
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1161
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:17.041294"], ["updated_at", "2015-04-06 13:16:17.041294"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1019
1162
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1020
1163
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1021
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1164
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:17.043762"], ["updated_at", "2015-04-06 13:16:17.043762"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1022
1165
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1023
1166
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1024
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "218"], ["created_at", "2015-04-06 13:16:17.046309"], ["updated_at", "2015-04-06 13:16:17.046309"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1025
1168
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1026
1169
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1027
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["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", "document.pdf"], ["file_size", 15356], ["file_uid", "219"], ["created_at", "2015-04-06 13:16:17.048839"], ["updated_at", "2015-04-06 13:16:17.048839"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1028
1171
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1029
1172
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1030
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["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", "document.pdf"], ["file_size", 15356], ["file_uid", "220"], ["created_at", "2015-04-06 13:16:17.051353"], ["updated_at", "2015-04-06 13:16:17.051353"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1031
1174
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1032
1175
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1033
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "221"], ["created_at", "2015-04-06 13:16:17.053833"], ["updated_at", "2015-04-06 13:16:17.053833"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1034
1177
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1035
1178
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1036
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "222"], ["created_at", "2015-04-06 13:16:17.057234"], ["updated_at", "2015-04-06 13:16:17.057234"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1037
1180
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1038
1181
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1039
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "223"], ["created_at", "2015-04-06 13:16:17.059961"], ["updated_at", "2015-04-06 13:16:17.059961"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1040
1183
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1041
1184
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1042
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "224"], ["created_at", "2015-04-06 13:16:17.062492"], ["updated_at", "2015-04-06 13:16:17.062492"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1043
1186
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1044
1187
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1045
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "225"], ["created_at", "2015-04-06 13:16:17.065083"], ["updated_at", "2015-04-06 13:16:17.065083"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1046
1189
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1047
1190
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1048
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "226"], ["created_at", "2015-04-06 13:16:17.067629"], ["updated_at", "2015-04-06 13:16:17.067629"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1049
1192
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1050
1193
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1051
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "227"], ["created_at", "2015-04-06 13:16:17.070360"], ["updated_at", "2015-04-06 13:16:17.070360"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1052
1195
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1053
1196
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1054
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "228"], ["created_at", "2015-04-06 13:16:17.073086"], ["updated_at", "2015-04-06 13:16:17.073086"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1055
1198
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1056
1199
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1057
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "229"], ["created_at", "2015-04-06 13:16:17.075772"], ["updated_at", "2015-04-06 13:16:17.075772"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1058
1201
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1059
1202
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1060
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
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", "230"], ["created_at", "2015-04-06 13:16:17.078378"], ["updated_at", "2015-04-06 13:16:17.078378"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1061
1204
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1062
1205
|
[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", "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", "231"], ["created_at", "2015-04-06 13:16:17.080804"], ["updated_at", "2015-04-06 13:16:17.080804"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1064
1207
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1065
1208
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1066
1209
|
Parameters: {"filter"=>"file", "page"=>2}
|
@@ -1070,244 +1213,138 @@ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
|
1070
1213
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1071
1214
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1072
1215
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1073
|
-
|
1074
|
-
PushType::
|
1075
|
-
|
1216
|
+
----------------------------------------------------------------------------------
|
1217
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0004_anonymous
|
1218
|
+
----------------------------------------------------------------------------------
|
1076
1219
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1077
1220
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1078
|
-
[1m[35m (0.
|
1079
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1080
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "227"], ["created_at", "2015-03-10 19:22:26.869469"], ["updated_at", "2015-03-10 19:22:26.869469"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1081
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1082
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1083
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "228"], ["created_at", "2015-03-10 19:22:26.872086"], ["updated_at", "2015-03-10 19:22:26.872086"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1084
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1221
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1085
1222
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1086
|
-
[1m[35mSQL (0.
|
1223
|
+
[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", "232"], ["created_at", "2015-04-06 13:16:17.093023"], ["updated_at", "2015-04-06 13:16:17.093023"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1087
1224
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1088
1225
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1089
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1226
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "233"], ["created_at", "2015-04-06 13:16:17.096322"], ["updated_at", "2015-04-06 13:16:17.096322"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1090
1227
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1091
|
-
[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
|
1092
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1093
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1094
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1095
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1096
|
-
-----------------------------------------------------------------------
|
1097
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
1098
|
-
-----------------------------------------------------------------------
|
1099
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1100
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1101
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1102
1228
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1103
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1229
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:17.098996"], ["updated_at", "2015-04-06 13:16:17.098996"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1104
1230
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1105
1231
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1106
|
-
[1m[36mSQL (0.
|
1232
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:17.101895"], ["updated_at", "2015-04-06 13:16:17.101895"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1107
1233
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1108
1234
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1109
|
-
[1m[35mSQL (0.
|
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", "236"], ["created_at", "2015-04-06 13:16:17.104951"], ["updated_at", "2015-04-06 13:16:17.104951"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1110
1236
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1111
1237
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1112
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "237"], ["created_at", "2015-04-06 13:16:17.107698"], ["updated_at", "2015-04-06 13:16:17.107698"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1113
1239
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1114
|
-
[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
|
1115
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1116
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1117
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1118
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1119
|
-
-----------------------------------------------------------------------
|
1120
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
1121
|
-
-----------------------------------------------------------------------
|
1122
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1123
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1124
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1125
1240
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1126
|
-
[1m[35mSQL (0.
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "238"], ["created_at", "2015-04-06 13:16:17.110223"], ["updated_at", "2015-04-06 13:16:17.110223"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1127
1242
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1128
1243
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1129
|
-
[1m[36mSQL (0.
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "239"], ["created_at", "2015-04-06 13:16:17.113049"], ["updated_at", "2015-04-06 13:16:17.113049"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1130
1245
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1131
1246
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1132
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "240"], ["created_at", "2015-04-06 13:16:17.116039"], ["updated_at", "2015-04-06 13:16:17.116039"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1133
1248
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1134
1249
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1135
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "241"], ["created_at", "2015-04-06 13:16:17.119038"], ["updated_at", "2015-04-06 13:16:17.119038"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1136
1251
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1137
|
-
[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
|
1138
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1139
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1140
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1141
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1142
|
-
-----------------------------------------------------------------------
|
1143
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
1144
|
-
-----------------------------------------------------------------------
|
1145
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1146
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1147
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1148
1252
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1149
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "242"], ["created_at", "2015-04-06 13:16:17.121883"], ["updated_at", "2015-04-06 13:16:17.121883"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1150
1254
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1151
1255
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1152
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "243"], ["created_at", "2015-04-06 13:16:17.125424"], ["updated_at", "2015-04-06 13:16:17.125424"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1153
1257
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1154
1258
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1155
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "244"], ["created_at", "2015-04-06 13:16:17.128377"], ["updated_at", "2015-04-06 13:16:17.128377"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1156
1260
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1157
1261
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1158
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_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", "245"], ["created_at", "2015-04-06 13:16:17.131013"], ["updated_at", "2015-04-06 13:16:17.131013"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1159
1263
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1160
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
1161
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1162
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1163
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1164
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1165
|
-
-----------------------------------------------------------------------
|
1166
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
1167
|
-
-----------------------------------------------------------------------
|
1168
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1169
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1170
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1171
1264
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1172
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "246"], ["created_at", "2015-04-06 13:16:17.133781"], ["updated_at", "2015-04-06 13:16:17.133781"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1173
1266
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1174
1267
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1175
|
-
[1m[36mSQL (0.
|
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", "247"], ["created_at", "2015-04-06 13:16:17.136657"], ["updated_at", "2015-04-06 13:16:17.136657"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1176
1269
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1177
1270
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1178
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "248"], ["created_at", "2015-04-06 13:16:17.139518"], ["updated_at", "2015-04-06 13:16:17.139518"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1179
1272
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1180
1273
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1181
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "249"], ["created_at", "2015-04-06 13:16:17.142498"], ["updated_at", "2015-04-06 13:16:17.142498"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1182
1275
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1183
|
-
|
1184
|
-
|
1276
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1277
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
1278
|
+
[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
|
1279
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1280
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
1185
1281
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1186
1282
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1187
1283
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1188
|
-
|
1189
|
-
PushType::
|
1190
|
-
|
1191
|
-
[1m[35m (0.
|
1284
|
+
----------------------------------------------------------------------------------
|
1285
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0003_anonymous
|
1286
|
+
----------------------------------------------------------------------------------
|
1287
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1192
1288
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1193
1289
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1194
1290
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1195
|
-
[1m[35mSQL (0.
|
1291
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:17.155064"], ["updated_at", "2015-04-06 13:16:17.155064"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1196
1292
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1197
1293
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1198
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1294
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:17.157995"], ["updated_at", "2015-04-06 13:16:17.157995"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1199
1295
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1200
1296
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1201
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1297
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-04-06 13:16:17.160615"], ["updated_at", "2015-04-06 13:16:17.160615"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1202
1298
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1203
1299
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1204
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1205
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1206
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1207
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1208
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1209
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1210
|
-
-----------------------------------------------------------------------
|
1211
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0002_anonymous
|
1212
|
-
-----------------------------------------------------------------------
|
1213
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1214
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1215
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1216
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1217
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-03-10 19:22:26.986056"], ["updated_at", "2015-03-10 19:22:26.986056"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1300
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-04-06 13:16:17.163415"], ["updated_at", "2015-04-06 13:16:17.163415"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1218
1301
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1219
1302
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1220
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "254"], ["created_at", "2015-04-06 13:16:17.166058"], ["updated_at", "2015-04-06 13:16:17.166058"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1221
1304
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1222
1305
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1223
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "255"], ["created_at", "2015-04-06 13:16:17.168818"], ["updated_at", "2015-04-06 13:16:17.168818"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1224
1307
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1225
1308
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1226
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1227
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1228
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1229
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1230
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1231
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1232
|
-
-----------------------------------------------------------------------
|
1233
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
1234
|
-
-----------------------------------------------------------------------
|
1235
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1236
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1237
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1238
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1239
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "255"], ["created_at", "2015-03-10 19:22:26.999897"], ["updated_at", "2015-03-10 19:22:26.999897"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "256"], ["created_at", "2015-04-06 13:16:17.171268"], ["updated_at", "2015-04-06 13:16:17.171268"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1240
1310
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1241
1311
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1242
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "257"], ["created_at", "2015-04-06 13:16:17.174728"], ["updated_at", "2015-04-06 13:16:17.174728"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1243
1313
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1244
1314
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1245
|
-
[1m[35mSQL (0.
|
1315
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "258"], ["created_at", "2015-04-06 13:16:17.177699"], ["updated_at", "2015-04-06 13:16:17.177699"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1246
1316
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1247
1317
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1248
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1249
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1250
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1251
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1252
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1253
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1254
|
-
-----------------------------------------------------------------------
|
1255
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
1256
|
-
-----------------------------------------------------------------------
|
1257
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1258
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1259
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1260
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1261
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "259"], ["created_at", "2015-03-10 19:22:27.013802"], ["updated_at", "2015-03-10 19:22:27.013802"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
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", "259"], ["created_at", "2015-04-06 13:16:17.180564"], ["updated_at", "2015-04-06 13:16:17.180564"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1262
1319
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1263
1320
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1264
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "260"], ["created_at", "2015-04-06 13:16:17.183455"], ["updated_at", "2015-04-06 13:16:17.183455"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1265
1322
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1266
1323
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1267
|
-
[1m[36mSQL (0.
|
1324
|
+
[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", "261"], ["created_at", "2015-04-06 13:16:17.186422"], ["updated_at", "2015-04-06 13:16:17.186422"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1268
1325
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1269
1326
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1270
|
-
[1m[35mSQL (0.
|
1271
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1272
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1273
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1274
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1275
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1276
|
-
-----------------------------------------------------------------------
|
1277
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
|
1278
|
-
-----------------------------------------------------------------------
|
1279
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1280
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1281
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1282
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1283
|
-
[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", "263"], ["created_at", "2015-03-10 19:22:27.027660"], ["updated_at", "2015-03-10 19:22:27.027660"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
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", "262"], ["created_at", "2015-04-06 13:16:17.189458"], ["updated_at", "2015-04-06 13:16:17.189458"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1284
1328
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1285
1329
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1286
|
-
[1m[36mSQL (0.
|
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", "263"], ["created_at", "2015-04-06 13:16:17.192275"], ["updated_at", "2015-04-06 13:16:17.192275"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1287
1331
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1288
1332
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1289
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "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", "264"], ["created_at", "2015-04-06 13:16:17.195117"], ["updated_at", "2015-04-06 13:16:17.195117"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1290
1334
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1291
1335
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1292
|
-
[1m[36mSQL (0.
|
1336
|
+
[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", "265"], ["created_at", "2015-04-06 13:16:17.198270"], ["updated_at", "2015-04-06 13:16:17.198270"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1293
1337
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1294
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1295
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1296
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1297
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1298
|
-
--------------------------------------------------------------------------------
|
1299
|
-
PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
|
1300
|
-
--------------------------------------------------------------------------------
|
1301
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1302
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1303
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1304
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1305
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1306
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fec0583bcf8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150310-31430-1c9ikdt>>}}
|
1307
1338
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1308
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
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", "266"], ["created_at", "2015-04-06 13:16:17.202398"], ["updated_at", "2015-04-06 13:16:17.202398"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1309
1340
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1310
|
-
|
1311
|
-
[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", "267"], ["created_at", "2015-04-06 13:16:17.205165"], ["updated_at", "2015-04-06 13:16:17.205165"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1343
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1344
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1345
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
1346
|
+
[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
|
1347
|
+
[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/%')
|
1348
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
1312
1349
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1313
1350
|
[1m[35m (0.1ms)[0m ROLLBACK
|