push_type_wysiwyg 0.4.0 → 0.5.0.alpha.1
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/assets/javascripts/application.js +1 -1
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150423122757_create_push_type_users.push_type.rb → 20150429164626_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150423122758_create_push_type_nodes.push_type.rb → 20150429164627_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150423122759_create_push_type_node_hierarchies.push_type.rb → 20150429164628_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150423122760_create_push_type_assets.push_type.rb → 20150429164629_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150423122761_create_push_type_taxonomies.push_type.rb → 20150429164630_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150423122762_create_push_type_taxonomy_hierarchies.push_type.rb → 20150429164631_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +656 -656
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/APkO7Y5jGgAltMtew8SHO_mOZoHi4ultsTI-Xfegu7M.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FmSPQu2npp_BNGAl1uB43rU-5z1OzMJ16MFmakAjQ0U.cache +3 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_dyCheV64NW1k5WoytRgTEE3aOLVNtWTiZ8MqRzF71c.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pcBJDzQJeDhw_S0sAXVzEqXr-q6ocrojEfTAlMgzh4k.cache +2 -0
- metadata +28 -24
- data/test/dummy/tmp/cache/assets/test/sprockets/a68b91e15fdc16974ff7b8ae47449026 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cdccdf2ac861273d2df93520f5601e1b +0 -0
data/test/dummy/log/test.log
CHANGED
@@ -1,41 +1,41 @@
|
|
1
|
-
[1m[36m (
|
1
|
+
[1m[36m (12.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
2
|
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreatePushTypeUsers (
|
4
|
+
Migrating to CreatePushTypeUsers (20150429164626)
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
6
|
-
[1m[36mSQL (1.
|
7
|
-
[1m[35m (2.
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
6
|
+
[1m[36mSQL (1.8ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
+
[1m[35m (2.4ms)[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", "20150429164626"]]
|
9
9
|
[1m[35m (0.7ms)[0m COMMIT
|
10
|
-
Migrating to CreatePushTypeNodes (
|
10
|
+
Migrating to CreatePushTypeNodes (20150429164627)
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12
|
-
[1m[35m (
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
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", "20150429164627"]]
|
14
14
|
[1m[35m (0.4ms)[0m COMMIT
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150429164628)
|
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.
|
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
19
|
[1m[35m (0.6ms)[0m CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
21
|
-
[1m[35m (0.3ms)[0m COMMIT
|
22
|
-
Migrating to CreatePushTypeAssets (20150423122760)
|
23
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
24
|
-
[1m[35m (1.9ms)[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", "20150423122760"]]
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150429164628"]]
|
26
21
|
[1m[35m (0.4ms)[0m COMMIT
|
27
|
-
Migrating to
|
22
|
+
Migrating to CreatePushTypeAssets (20150429164629)
|
23
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
24
|
+
[1m[35m (1.8ms)[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", "20150429164629"]]
|
26
|
+
[1m[35m (0.5ms)[0m COMMIT
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20150429164630)
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29
29
|
[1m[35m (1.7ms)[0m CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
30
30
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_assets" ADD "tags" character varying[][0m
|
31
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150429164630"]]
|
32
32
|
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20150429164631)
|
34
34
|
[1m[35m (0.1ms)[0m BEGIN
|
35
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.
|
37
|
-
[1m[36m (0.
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
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.5ms)[0m [1mCREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")[0m
|
38
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150429164631"]]
|
39
39
|
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
40
40
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
41
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
|
@@ -111,1240 +111,1240 @@ WHERE c.contype = 'f'
|
|
111
111
|
ORDER BY c.conname
|
112
112
|
|
113
113
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
114
|
-
[1m[35m (0.
|
115
|
-
[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 (1.0ms)[0m [1m SELECT schemaname || '.' || tablename
|
116
116
|
FROM pg_tables
|
117
117
|
WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))
|
118
118
|
[0m
|
119
119
|
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
120
|
-
[1m[36m (10.
|
120
|
+
[1m[36m (10.4ms)[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
121
|
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
|
122
122
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
123
|
-
|
124
|
-
PushType::
|
125
|
-
|
123
|
+
-----------------------------------------------------------------------
|
124
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
|
125
|
+
-----------------------------------------------------------------------
|
126
126
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
127
127
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
128
|
-
[1m[35m (0.
|
129
|
-
[1m[36m (0.
|
130
|
-
|
131
|
-
|
128
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
129
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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-29 16:46:31.807319"], ["updated_at", "2015-04-29 16:46:31.807319"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
131
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
132
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
133
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-04-29 16:46:31.838604"], ["updated_at", "2015-04-29 16:46:31.838604"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
134
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
135
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
136
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "3"], ["created_at", "2015-04-29 16:46:31.841290"], ["updated_at", "2015-04-29 16:46:31.841290"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
137
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
132
138
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
133
|
-
[1m[36mSQL (0.
|
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-29 16:46:31.843569"], ["updated_at", "2015-04-29 16:46:31.843569"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
134
140
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
135
|
-
Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 1.5ms)
|
136
141
|
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
137
142
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
138
143
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
139
144
|
[1m[35m (0.1ms)[0m BEGIN
|
140
|
-
|
141
|
-
PushType::
|
142
|
-
|
143
|
-
[1m[36m (0.
|
144
|
-
[1m[35m (0.
|
145
|
-
[1m[36m (0.
|
145
|
+
-----------------------------------------------------------------------
|
146
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
147
|
+
-----------------------------------------------------------------------
|
148
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
149
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
150
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
146
151
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
147
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
152
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "5"], ["created_at", "2015-04-29 16:46:31.849887"], ["updated_at", "2015-04-29 16:46:31.849887"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
148
153
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
149
154
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
150
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
155
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "6"], ["created_at", "2015-04-29 16:46:31.852294"], ["updated_at", "2015-04-29 16:46:31.852294"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
151
156
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
152
157
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
153
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "7"], ["created_at", "2015-04-29 16:46:31.854375"], ["updated_at", "2015-04-29 16:46:31.854375"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
154
159
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
155
160
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
156
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
161
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "8"], ["created_at", "2015-04-29 16:46:31.856762"], ["updated_at", "2015-04-29 16:46:31.856762"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
157
162
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
158
|
-
[1m[35m (0.
|
159
|
-
[1m[
|
160
|
-
[1m[35m (0.1ms)[0m
|
163
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
164
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
165
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
166
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
167
|
+
-----------------------------------------------------------------------
|
168
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0005_anonymous
|
169
|
+
-----------------------------------------------------------------------
|
170
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
171
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
172
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
161
173
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
162
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
174
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "9"], ["created_at", "2015-04-29 16:46:31.861615"], ["updated_at", "2015-04-29 16:46:31.861615"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
163
175
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
164
176
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
165
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
177
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "10"], ["created_at", "2015-04-29 16:46:31.864227"], ["updated_at", "2015-04-29 16:46:31.864227"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
166
178
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
167
179
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
168
|
-
[1m[35mSQL (0.
|
180
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "11"], ["created_at", "2015-04-29 16:46:31.866369"], ["updated_at", "2015-04-29 16:46:31.866369"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
169
181
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
170
182
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
171
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
183
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "12"], ["created_at", "2015-04-29 16:46:31.868384"], ["updated_at", "2015-04-29 16:46:31.868384"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
172
184
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
173
|
-
[1m[36m (0.
|
174
|
-
[1m[
|
175
|
-
[1m[36m (0.1ms)[0m [
|
185
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
186
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
187
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
188
|
+
[1m[35m (0.1ms)[0m BEGIN
|
189
|
+
-----------------------------------------------------------------------
|
190
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
191
|
+
-----------------------------------------------------------------------
|
192
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
193
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
194
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
176
195
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
177
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
196
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "13"], ["created_at", "2015-04-29 16:46:31.872651"], ["updated_at", "2015-04-29 16:46:31.872651"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
178
197
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
179
198
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
180
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
199
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "14"], ["created_at", "2015-04-29 16:46:31.874924"], ["updated_at", "2015-04-29 16:46:31.874924"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
181
200
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
182
201
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
183
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
202
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "15"], ["created_at", "2015-04-29 16:46:31.877178"], ["updated_at", "2015-04-29 16:46:31.877178"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
184
203
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
185
204
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
186
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
205
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "16"], ["created_at", "2015-04-29 16:46:31.879197"], ["updated_at", "2015-04-29 16:46:31.879197"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
187
206
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
188
|
-
[1m[35m (0.1ms)[0m
|
189
|
-
[1m[
|
190
|
-
[1m[35m (0.1ms)[0m
|
207
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
208
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
209
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
210
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
211
|
+
-----------------------------------------------------------------------
|
212
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0002_anonymous
|
213
|
+
-----------------------------------------------------------------------
|
214
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
215
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
216
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
191
217
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
192
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
218
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "17"], ["created_at", "2015-04-29 16:46:31.883618"], ["updated_at", "2015-04-29 16:46:31.883618"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
193
219
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
194
220
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
195
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
221
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "18"], ["created_at", "2015-04-29 16:46:31.885861"], ["updated_at", "2015-04-29 16:46:31.885861"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
196
222
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
197
223
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
198
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
224
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "19"], ["created_at", "2015-04-29 16:46:31.887859"], ["updated_at", "2015-04-29 16:46:31.887859"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
199
225
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
200
|
-
|
201
|
-
|
202
|
-
[1m[
|
203
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"
|
204
|
-
Completed 200 OK in 26ms (Views: 0.4ms | ActiveRecord: 0.9ms)
|
226
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
227
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "20"], ["created_at", "2015-04-29 16:46:31.889835"], ["updated_at", "2015-04-29 16:46:31.889835"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
228
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
229
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
205
230
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
206
231
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
207
232
|
[1m[35m (0.1ms)[0m BEGIN
|
208
|
-
|
209
|
-
PushType::WysiwygMediaController::GET #index::
|
210
|
-
|
233
|
+
----------------------------------------------------------------------------------
|
234
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0001_anonymous
|
235
|
+
----------------------------------------------------------------------------------
|
211
236
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
212
237
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
213
238
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
214
239
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
215
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
240
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "21"], ["created_at", "2015-04-29 16:46:31.895068"], ["updated_at", "2015-04-29 16:46:31.895068"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
216
241
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
217
242
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
218
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
243
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "22"], ["created_at", "2015-04-29 16:46:31.897525"], ["updated_at", "2015-04-29 16:46:31.897525"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
219
244
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
220
245
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
221
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
246
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "23"], ["created_at", "2015-04-29 16:46:31.899476"], ["updated_at", "2015-04-29 16:46:31.899476"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
222
247
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
223
248
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
224
|
-
[1m[35mSQL (0.
|
249
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "24"], ["created_at", "2015-04-29 16:46:31.901545"], ["updated_at", "2015-04-29 16:46:31.901545"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
225
250
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
226
251
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
227
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
252
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "25"], ["created_at", "2015-04-29 16:46:31.903604"], ["updated_at", "2015-04-29 16:46:31.903604"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
228
253
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
229
254
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
230
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
255
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "26"], ["created_at", "2015-04-29 16:46:31.905876"], ["updated_at", "2015-04-29 16:46:31.905876"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
231
256
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
232
257
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
233
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
258
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "27"], ["created_at", "2015-04-29 16:46:31.908004"], ["updated_at", "2015-04-29 16:46:31.908004"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
234
259
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
235
260
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
236
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
261
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "28"], ["created_at", "2015-04-29 16:46:31.910154"], ["updated_at", "2015-04-29 16:46:31.910154"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
237
262
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
238
263
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
239
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
264
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "29"], ["created_at", "2015-04-29 16:46:31.912333"], ["updated_at", "2015-04-29 16:46:31.912333"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
240
265
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
241
266
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
242
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
267
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "30"], ["created_at", "2015-04-29 16:46:31.914440"], ["updated_at", "2015-04-29 16:46:31.914440"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
243
268
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
244
269
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
245
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
270
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "31"], ["created_at", "2015-04-29 16:46:31.916505"], ["updated_at", "2015-04-29 16:46:31.916505"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
246
271
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
247
272
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
248
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
273
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "32"], ["created_at", "2015-04-29 16:46:31.918655"], ["updated_at", "2015-04-29 16:46:31.918655"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
249
274
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
250
275
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
251
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
276
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "33"], ["created_at", "2015-04-29 16:46:31.920718"], ["updated_at", "2015-04-29 16:46:31.920718"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
252
277
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
253
278
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
254
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
279
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "34"], ["created_at", "2015-04-29 16:46:31.922930"], ["updated_at", "2015-04-29 16:46:31.922930"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
255
280
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
256
281
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
257
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
282
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "35"], ["created_at", "2015-04-29 16:46:31.925106"], ["updated_at", "2015-04-29 16:46:31.925106"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
258
283
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
259
284
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
260
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
285
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2015-04-29 16:46:31.927269"], ["updated_at", "2015-04-29 16:46:31.927269"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
261
286
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
262
287
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
263
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
288
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "37"], ["created_at", "2015-04-29 16:46:31.929536"], ["updated_at", "2015-04-29 16:46:31.929536"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
264
289
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
265
290
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
291
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "38"], ["created_at", "2015-04-29 16:46:31.931633"], ["updated_at", "2015-04-29 16:46:31.931633"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
267
292
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
268
293
|
Processing by PushType::WysiwygMediaController#index as JSON
|
269
|
-
Parameters: {"filter"=>"
|
270
|
-
[1m[35mPushType::Asset Load (0.
|
271
|
-
[1m[36m (0.
|
272
|
-
Completed 200 OK in
|
294
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
295
|
+
[1m[35mPushType::Asset Load (0.6ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
296
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
297
|
+
Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 0.9ms)
|
273
298
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
274
299
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
275
300
|
[1m[35m (0.1ms)[0m BEGIN
|
276
|
-
|
277
|
-
PushType::WysiwygMediaController::GET #index::
|
278
|
-
|
279
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
280
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
301
|
+
----------------------------------------------------------------------------------
|
302
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0003_anonymous
|
303
|
+
----------------------------------------------------------------------------------
|
281
304
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
305
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
306
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
282
307
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
283
|
-
[1m[36mSQL (0.
|
308
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "39"], ["created_at", "2015-04-29 16:46:32.024382"], ["updated_at", "2015-04-29 16:46:32.024382"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
284
309
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
285
310
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
286
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
311
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "40"], ["created_at", "2015-04-29 16:46:32.027308"], ["updated_at", "2015-04-29 16:46:32.027308"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
287
312
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
288
313
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
289
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
314
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "41"], ["created_at", "2015-04-29 16:46:32.029406"], ["updated_at", "2015-04-29 16:46:32.029406"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
290
315
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
291
316
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
292
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
317
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "42"], ["created_at", "2015-04-29 16:46:32.031358"], ["updated_at", "2015-04-29 16:46:32.031358"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
293
318
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
294
319
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
295
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
320
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "43"], ["created_at", "2015-04-29 16:46:32.033321"], ["updated_at", "2015-04-29 16:46:32.033321"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
296
321
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
297
322
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
298
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
323
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "44"], ["created_at", "2015-04-29 16:46:32.035335"], ["updated_at", "2015-04-29 16:46:32.035335"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
299
324
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
300
325
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
301
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
326
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "45"], ["created_at", "2015-04-29 16:46:32.037329"], ["updated_at", "2015-04-29 16:46:32.037329"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
302
327
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
303
328
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
304
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
329
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "46"], ["created_at", "2015-04-29 16:46:32.039385"], ["updated_at", "2015-04-29 16:46:32.039385"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
305
330
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
306
331
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
307
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
332
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "47"], ["created_at", "2015-04-29 16:46:32.041345"], ["updated_at", "2015-04-29 16:46:32.041345"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
308
333
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
309
334
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
310
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
335
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "48"], ["created_at", "2015-04-29 16:46:32.043260"], ["updated_at", "2015-04-29 16:46:32.043260"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
311
336
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
312
337
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
313
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
338
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "49"], ["created_at", "2015-04-29 16:46:32.045243"], ["updated_at", "2015-04-29 16:46:32.045243"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
314
339
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
315
340
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
316
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
341
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "50"], ["created_at", "2015-04-29 16:46:32.047159"], ["updated_at", "2015-04-29 16:46:32.047159"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
317
342
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
318
343
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
319
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
344
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "51"], ["created_at", "2015-04-29 16:46:32.049218"], ["updated_at", "2015-04-29 16:46:32.049218"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
320
345
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
321
346
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
322
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
347
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "52"], ["created_at", "2015-04-29 16:46:32.051265"], ["updated_at", "2015-04-29 16:46:32.051265"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
323
348
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
324
349
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
325
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
350
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "53"], ["created_at", "2015-04-29 16:46:32.053290"], ["updated_at", "2015-04-29 16:46:32.053290"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
326
351
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
327
352
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
328
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
353
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015-04-29 16:46:32.055174"], ["updated_at", "2015-04-29 16:46:32.055174"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
329
354
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
330
355
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
331
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
356
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "55"], ["created_at", "2015-04-29 16:46:32.057251"], ["updated_at", "2015-04-29 16:46:32.057251"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
332
357
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
333
358
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
359
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "56"], ["created_at", "2015-04-29 16:46:32.059554"], ["updated_at", "2015-04-29 16:46:32.059554"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
335
360
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
336
361
|
Processing by PushType::WysiwygMediaController#index as JSON
|
337
|
-
Parameters: {"filter"=>"
|
338
|
-
[1m[35mPushType::Asset Load (0.
|
339
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
340
|
-
Completed 200 OK in
|
362
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
363
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
364
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
365
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
341
366
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
342
|
-
[1m[36m (0.
|
367
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
343
368
|
[1m[35m (0.1ms)[0m BEGIN
|
344
|
-
|
345
|
-
PushType::WysiwygMediaController::GET #index::
|
346
|
-
|
347
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
348
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
369
|
+
----------------------------------------------------------------------------------
|
370
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0002_anonymous
|
371
|
+
----------------------------------------------------------------------------------
|
349
372
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
373
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
374
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
350
375
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
351
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
376
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "57"], ["created_at", "2015-04-29 16:46:32.067867"], ["updated_at", "2015-04-29 16:46:32.067867"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
352
377
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
353
378
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
354
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
379
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "58"], ["created_at", "2015-04-29 16:46:32.069929"], ["updated_at", "2015-04-29 16:46:32.069929"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
355
380
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
356
381
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
357
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "59"], ["created_at", "2015-04-29 16:46:32.071908"], ["updated_at", "2015-04-29 16:46:32.071908"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
358
383
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
359
384
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
360
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
385
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "60"], ["created_at", "2015-04-29 16:46:32.073811"], ["updated_at", "2015-04-29 16:46:32.073811"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
361
386
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
362
387
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
363
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
388
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "61"], ["created_at", "2015-04-29 16:46:32.075726"], ["updated_at", "2015-04-29 16:46:32.075726"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
364
389
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
365
390
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
366
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
391
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "62"], ["created_at", "2015-04-29 16:46:32.077936"], ["updated_at", "2015-04-29 16:46:32.077936"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
367
392
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
368
393
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
369
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
394
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "63"], ["created_at", "2015-04-29 16:46:32.079996"], ["updated_at", "2015-04-29 16:46:32.079996"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
370
395
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
371
396
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
372
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
397
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015-04-29 16:46:32.081991"], ["updated_at", "2015-04-29 16:46:32.081991"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
373
398
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
374
399
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
375
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
400
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "65"], ["created_at", "2015-04-29 16:46:32.084031"], ["updated_at", "2015-04-29 16:46:32.084031"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
376
401
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
377
402
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
378
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
403
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "66"], ["created_at", "2015-04-29 16:46:32.086001"], ["updated_at", "2015-04-29 16:46:32.086001"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
379
404
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
380
405
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
381
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
406
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "67"], ["created_at", "2015-04-29 16:46:32.088007"], ["updated_at", "2015-04-29 16:46:32.088007"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
382
407
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
383
408
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
384
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
409
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "68"], ["created_at", "2015-04-29 16:46:32.090119"], ["updated_at", "2015-04-29 16:46:32.090119"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
385
410
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
386
411
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
387
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
412
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "69"], ["created_at", "2015-04-29 16:46:32.092245"], ["updated_at", "2015-04-29 16:46:32.092245"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
388
413
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
389
414
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
390
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
415
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "70"], ["created_at", "2015-04-29 16:46:32.094380"], ["updated_at", "2015-04-29 16:46:32.094380"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
391
416
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
392
417
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
393
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
418
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "71"], ["created_at", "2015-04-29 16:46:32.096411"], ["updated_at", "2015-04-29 16:46:32.096411"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
394
419
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
395
420
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
396
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
421
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2015-04-29 16:46:32.098399"], ["updated_at", "2015-04-29 16:46:32.098399"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
397
422
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
398
423
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
399
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
424
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "73"], ["created_at", "2015-04-29 16:46:32.100504"], ["updated_at", "2015-04-29 16:46:32.100504"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
400
425
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
401
426
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
402
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
427
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "74"], ["created_at", "2015-04-29 16:46:32.102717"], ["updated_at", "2015-04-29 16:46:32.102717"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
403
428
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
404
429
|
Processing by PushType::WysiwygMediaController#index as JSON
|
405
|
-
Parameters: {"filter"=>"
|
406
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET
|
407
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
408
|
-
Completed 200 OK in
|
430
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
431
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
432
|
+
[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
|
433
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
409
434
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
410
|
-
[1m[36m (0.
|
435
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
411
436
|
[1m[35m (0.1ms)[0m BEGIN
|
412
437
|
----------------------------------------------------------------------------------
|
413
|
-
PushType::WysiwygMediaController::GET #index::with pagination:
|
438
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0004_anonymous
|
414
439
|
----------------------------------------------------------------------------------
|
415
440
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
416
441
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
417
442
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
418
443
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
419
|
-
[1m[36mSQL (0.
|
444
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "75"], ["created_at", "2015-04-29 16:46:32.110611"], ["updated_at", "2015-04-29 16:46:32.110611"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
420
445
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
421
446
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
422
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
447
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "76"], ["created_at", "2015-04-29 16:46:32.112685"], ["updated_at", "2015-04-29 16:46:32.112685"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
423
448
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
424
449
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
425
|
-
[1m[36mSQL (0.
|
450
|
+
[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", "77"], ["created_at", "2015-04-29 16:46:32.114767"], ["updated_at", "2015-04-29 16:46:32.114767"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
426
451
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
427
452
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
428
|
-
[1m[35mSQL (0.
|
453
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "78"], ["created_at", "2015-04-29 16:46:32.116965"], ["updated_at", "2015-04-29 16:46:32.116965"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
429
454
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
430
455
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
431
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
456
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "79"], ["created_at", "2015-04-29 16:46:32.118969"], ["updated_at", "2015-04-29 16:46:32.118969"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
432
457
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
433
458
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
434
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
459
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "80"], ["created_at", "2015-04-29 16:46:32.121107"], ["updated_at", "2015-04-29 16:46:32.121107"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
435
460
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
436
461
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
437
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
462
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "81"], ["created_at", "2015-04-29 16:46:32.123344"], ["updated_at", "2015-04-29 16:46:32.123344"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
438
463
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
439
464
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
440
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
465
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "82"], ["created_at", "2015-04-29 16:46:32.125360"], ["updated_at", "2015-04-29 16:46:32.125360"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
441
466
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
442
467
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
443
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
468
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "83"], ["created_at", "2015-04-29 16:46:32.127424"], ["updated_at", "2015-04-29 16:46:32.127424"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
444
469
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
445
470
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
446
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
471
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "84"], ["created_at", "2015-04-29 16:46:32.129403"], ["updated_at", "2015-04-29 16:46:32.129403"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
447
472
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
448
473
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
449
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
474
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "85"], ["created_at", "2015-04-29 16:46:32.131622"], ["updated_at", "2015-04-29 16:46:32.131622"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
450
475
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
451
476
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
452
|
-
[1m[35mSQL (0.
|
477
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "86"], ["created_at", "2015-04-29 16:46:32.133597"], ["updated_at", "2015-04-29 16:46:32.133597"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
453
478
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
454
479
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
455
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
480
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "87"], ["created_at", "2015-04-29 16:46:32.135545"], ["updated_at", "2015-04-29 16:46:32.135545"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
456
481
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
457
482
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
458
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
483
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "88"], ["created_at", "2015-04-29 16:46:32.137549"], ["updated_at", "2015-04-29 16:46:32.137549"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
459
484
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
460
485
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
486
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "89"], ["created_at", "2015-04-29 16:46:32.153674"], ["updated_at", "2015-04-29 16:46:32.153674"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
462
487
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
463
488
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
464
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
489
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "90"], ["created_at", "2015-04-29 16:46:32.155864"], ["updated_at", "2015-04-29 16:46:32.155864"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
465
490
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
466
491
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
467
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
492
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "91"], ["created_at", "2015-04-29 16:46:32.158076"], ["updated_at", "2015-04-29 16:46:32.158076"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
468
493
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
469
494
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
470
|
-
[1m[35mSQL (0.
|
495
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "92"], ["created_at", "2015-04-29 16:46:32.160134"], ["updated_at", "2015-04-29 16:46:32.160134"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
471
496
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
472
497
|
Processing by PushType::WysiwygMediaController#index as JSON
|
473
498
|
Parameters: {"filter"=>"file", "page"=>2}
|
474
|
-
[1m[35mPushType::Asset Load (0.
|
499
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
475
500
|
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
476
|
-
Completed 200 OK in
|
501
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
477
502
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
478
503
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
479
504
|
[1m[35m (0.1ms)[0m BEGIN
|
480
|
-
|
481
|
-
PushType::WysiwygMediaController::GET #index::
|
482
|
-
|
505
|
+
---------------------------------------------------------------------------------------
|
506
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0001_anonymous
|
507
|
+
---------------------------------------------------------------------------------------
|
483
508
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
484
509
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
485
|
-
[1m[36m (0.
|
510
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
486
511
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
487
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
512
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "93"], ["created_at", "2015-04-29 16:46:32.169011"], ["updated_at", "2015-04-29 16:46:32.169011"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
488
513
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
489
514
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
490
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
515
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "94"], ["created_at", "2015-04-29 16:46:32.171120"], ["updated_at", "2015-04-29 16:46:32.171120"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
491
516
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
492
517
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
493
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
518
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "95"], ["created_at", "2015-04-29 16:46:32.173143"], ["updated_at", "2015-04-29 16:46:32.173143"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
494
519
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
495
520
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
496
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
521
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "96"], ["created_at", "2015-04-29 16:46:32.175063"], ["updated_at", "2015-04-29 16:46:32.175063"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
497
522
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
498
523
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
499
|
-
[1m[36mSQL (
|
524
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "97"], ["created_at", "2015-04-29 16:46:32.177063"], ["updated_at", "2015-04-29 16:46:32.177063"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
500
525
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
501
526
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
502
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
527
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "98"], ["created_at", "2015-04-29 16:46:32.179254"], ["updated_at", "2015-04-29 16:46:32.179254"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
503
528
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
504
529
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
505
|
-
[1m[36mSQL (
|
530
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "99"], ["created_at", "2015-04-29 16:46:32.181693"], ["updated_at", "2015-04-29 16:46:32.181693"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
506
531
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
507
532
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
508
|
-
[1m[35mSQL (0.
|
533
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "100"], ["created_at", "2015-04-29 16:46:32.184029"], ["updated_at", "2015-04-29 16:46:32.184029"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
509
534
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
510
535
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
511
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
536
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "101"], ["created_at", "2015-04-29 16:46:32.186293"], ["updated_at", "2015-04-29 16:46:32.186293"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
512
537
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
513
538
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
514
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
539
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "102"], ["created_at", "2015-04-29 16:46:32.188800"], ["updated_at", "2015-04-29 16:46:32.188800"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
515
540
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
516
541
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
517
|
-
[1m[36mSQL (0.
|
542
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "103"], ["created_at", "2015-04-29 16:46:32.191453"], ["updated_at", "2015-04-29 16:46:32.191453"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
518
543
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
519
544
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
520
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
545
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "104"], ["created_at", "2015-04-29 16:46:32.193816"], ["updated_at", "2015-04-29 16:46:32.193816"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
521
546
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
522
547
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
523
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
548
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "105"], ["created_at", "2015-04-29 16:46:32.196099"], ["updated_at", "2015-04-29 16:46:32.196099"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
524
549
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
525
550
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
526
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
551
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "106"], ["created_at", "2015-04-29 16:46:32.198177"], ["updated_at", "2015-04-29 16:46:32.198177"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
527
552
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
528
553
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
529
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
554
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "107"], ["created_at", "2015-04-29 16:46:32.200760"], ["updated_at", "2015-04-29 16:46:32.200760"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
530
555
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
531
556
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
532
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
557
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "108"], ["created_at", "2015-04-29 16:46:32.203706"], ["updated_at", "2015-04-29 16:46:32.203706"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
533
558
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
534
559
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
535
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
560
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "109"], ["created_at", "2015-04-29 16:46:32.206009"], ["updated_at", "2015-04-29 16:46:32.206009"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
536
561
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
537
562
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
538
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
563
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "110"], ["created_at", "2015-04-29 16:46:32.208619"], ["updated_at", "2015-04-29 16:46:32.208619"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
539
564
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
540
565
|
Processing by PushType::WysiwygMediaController#index as JSON
|
541
|
-
Parameters: {"filter"=>"
|
542
|
-
[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
|
543
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type
|
544
|
-
Completed 200 OK in
|
545
|
-
[1m[35m (0.
|
566
|
+
Parameters: {"filter"=>"image"}
|
567
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
568
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
569
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
570
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
546
571
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
547
572
|
[1m[35m (0.1ms)[0m BEGIN
|
548
|
-
|
549
|
-
PushType::WysiwygMediaController::GET #index::
|
550
|
-
|
573
|
+
---------------------------------------------------------------------------------------
|
574
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0002_anonymous
|
575
|
+
---------------------------------------------------------------------------------------
|
551
576
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
552
577
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
553
|
-
[1m[36m (0.
|
578
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
554
579
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
555
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
556
|
-
[1m[35m (0.
|
580
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "111"], ["created_at", "2015-04-29 16:46:32.218904"], ["updated_at", "2015-04-29 16:46:32.218904"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
581
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
557
582
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
558
|
-
[1m[35mSQL (0.
|
583
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "112"], ["created_at", "2015-04-29 16:46:32.221425"], ["updated_at", "2015-04-29 16:46:32.221425"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
559
584
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
560
585
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
561
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
586
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "113"], ["created_at", "2015-04-29 16:46:32.223813"], ["updated_at", "2015-04-29 16:46:32.223813"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
562
587
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
563
588
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
564
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
589
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "114"], ["created_at", "2015-04-29 16:46:32.226107"], ["updated_at", "2015-04-29 16:46:32.226107"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
565
590
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
566
591
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
567
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
592
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "115"], ["created_at", "2015-04-29 16:46:32.228213"], ["updated_at", "2015-04-29 16:46:32.228213"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
568
593
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
569
594
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
570
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
595
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "116"], ["created_at", "2015-04-29 16:46:32.230326"], ["updated_at", "2015-04-29 16:46:32.230326"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
571
596
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
572
597
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
573
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
598
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "117"], ["created_at", "2015-04-29 16:46:32.232416"], ["updated_at", "2015-04-29 16:46:32.232416"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
574
599
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
575
600
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
576
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
601
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "118"], ["created_at", "2015-04-29 16:46:32.234510"], ["updated_at", "2015-04-29 16:46:32.234510"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
577
602
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
578
603
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
579
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
604
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "119"], ["created_at", "2015-04-29 16:46:32.236773"], ["updated_at", "2015-04-29 16:46:32.236773"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
580
605
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
581
606
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
582
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
607
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "120"], ["created_at", "2015-04-29 16:46:32.238848"], ["updated_at", "2015-04-29 16:46:32.238848"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
583
608
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
584
609
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
585
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
610
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "121"], ["created_at", "2015-04-29 16:46:32.240932"], ["updated_at", "2015-04-29 16:46:32.240932"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
586
611
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
587
612
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
588
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
613
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "122"], ["created_at", "2015-04-29 16:46:32.242955"], ["updated_at", "2015-04-29 16:46:32.242955"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
589
614
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
590
615
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
591
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
616
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "123"], ["created_at", "2015-04-29 16:46:32.244986"], ["updated_at", "2015-04-29 16:46:32.244986"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
592
617
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
593
618
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
594
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
619
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "124"], ["created_at", "2015-04-29 16:46:32.247122"], ["updated_at", "2015-04-29 16:46:32.247122"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
595
620
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
596
621
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
597
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
622
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "125"], ["created_at", "2015-04-29 16:46:32.249225"], ["updated_at", "2015-04-29 16:46:32.249225"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
598
623
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
599
624
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
600
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
625
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "126"], ["created_at", "2015-04-29 16:46:32.251367"], ["updated_at", "2015-04-29 16:46:32.251367"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
601
626
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
602
627
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
603
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
628
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "127"], ["created_at", "2015-04-29 16:46:32.253523"], ["updated_at", "2015-04-29 16:46:32.253523"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
604
629
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
605
630
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
606
|
-
[1m[35mSQL (0.
|
631
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "128"], ["created_at", "2015-04-29 16:46:32.255652"], ["updated_at", "2015-04-29 16:46:32.255652"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
607
632
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
608
633
|
Processing by PushType::WysiwygMediaController#index as JSON
|
609
|
-
Parameters: {"filter"=>"
|
610
|
-
[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
|
611
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type
|
612
|
-
Completed 200 OK in
|
634
|
+
Parameters: {"filter"=>"image"}
|
635
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
636
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
637
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
613
638
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
614
639
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
615
640
|
[1m[35m (0.1ms)[0m BEGIN
|
616
|
-
|
617
|
-
PushType::WysiwygMediaController::GET #index::
|
618
|
-
|
641
|
+
---------------------------------------------------------------------------------------
|
642
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0004_anonymous
|
643
|
+
---------------------------------------------------------------------------------------
|
619
644
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
620
|
-
[1m[35m (0.
|
645
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
621
646
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
622
647
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
623
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
648
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "129"], ["created_at", "2015-04-29 16:46:32.264480"], ["updated_at", "2015-04-29 16:46:32.264480"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
624
649
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
625
650
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
626
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
651
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "130"], ["created_at", "2015-04-29 16:46:32.266594"], ["updated_at", "2015-04-29 16:46:32.266594"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
627
652
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
628
653
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
629
|
-
[1m[36mSQL (0.
|
654
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "131"], ["created_at", "2015-04-29 16:46:32.268673"], ["updated_at", "2015-04-29 16:46:32.268673"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
630
655
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
631
656
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
632
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
657
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "132"], ["created_at", "2015-04-29 16:46:32.270861"], ["updated_at", "2015-04-29 16:46:32.270861"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
633
658
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
634
659
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
635
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
660
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "133"], ["created_at", "2015-04-29 16:46:32.272916"], ["updated_at", "2015-04-29 16:46:32.272916"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
636
661
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
637
662
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
638
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
663
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "134"], ["created_at", "2015-04-29 16:46:32.275066"], ["updated_at", "2015-04-29 16:46:32.275066"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
639
664
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
640
665
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
641
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
666
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "135"], ["created_at", "2015-04-29 16:46:32.277151"], ["updated_at", "2015-04-29 16:46:32.277151"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
642
667
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
643
668
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
644
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
669
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "136"], ["created_at", "2015-04-29 16:46:32.279232"], ["updated_at", "2015-04-29 16:46:32.279232"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
645
670
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
646
671
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
647
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
672
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "137"], ["created_at", "2015-04-29 16:46:32.281333"], ["updated_at", "2015-04-29 16:46:32.281333"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
648
673
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
649
674
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
650
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
675
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "138"], ["created_at", "2015-04-29 16:46:32.283359"], ["updated_at", "2015-04-29 16:46:32.283359"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
651
676
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
652
677
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
653
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
678
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "139"], ["created_at", "2015-04-29 16:46:32.285490"], ["updated_at", "2015-04-29 16:46:32.285490"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
654
679
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
655
680
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
656
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
681
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "140"], ["created_at", "2015-04-29 16:46:32.287628"], ["updated_at", "2015-04-29 16:46:32.287628"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
657
682
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
658
683
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
659
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
684
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "141"], ["created_at", "2015-04-29 16:46:32.289732"], ["updated_at", "2015-04-29 16:46:32.289732"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
660
685
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
661
686
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
662
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
687
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "142"], ["created_at", "2015-04-29 16:46:32.291851"], ["updated_at", "2015-04-29 16:46:32.291851"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
663
688
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
664
689
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
665
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
690
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "143"], ["created_at", "2015-04-29 16:46:32.293907"], ["updated_at", "2015-04-29 16:46:32.293907"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
666
691
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
667
692
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
668
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
693
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "144"], ["created_at", "2015-04-29 16:46:32.295933"], ["updated_at", "2015-04-29 16:46:32.295933"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
669
694
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
670
695
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
671
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
696
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "145"], ["created_at", "2015-04-29 16:46:32.298234"], ["updated_at", "2015-04-29 16:46:32.298234"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
672
697
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
673
698
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
674
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
699
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "146"], ["created_at", "2015-04-29 16:46:32.300275"], ["updated_at", "2015-04-29 16:46:32.300275"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
675
700
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
676
701
|
Processing by PushType::WysiwygMediaController#index as JSON
|
677
|
-
Parameters: {"filter"=>"
|
678
|
-
[1m[35mPushType::Asset Load (0.
|
679
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type
|
680
|
-
Completed 200 OK in
|
702
|
+
Parameters: {"filter"=>"image"}
|
703
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
704
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
705
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
681
706
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
682
707
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
683
708
|
[1m[35m (0.1ms)[0m BEGIN
|
684
|
-
|
685
|
-
PushType::
|
686
|
-
|
687
|
-
[1m[36m (0.
|
688
|
-
[1m[35m (0.
|
689
|
-
[1m[36m (0.
|
709
|
+
---------------------------------------------------------------------------------------
|
710
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0003_anonymous
|
711
|
+
---------------------------------------------------------------------------------------
|
712
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
713
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
714
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
690
715
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
691
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
716
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "147"], ["created_at", "2015-04-29 16:46:32.309118"], ["updated_at", "2015-04-29 16:46:32.309118"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
692
717
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
693
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
694
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
695
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
696
|
-
----------------------------------------------------------------------
|
697
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
698
|
-
----------------------------------------------------------------------
|
699
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
700
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
701
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
702
718
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
703
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
719
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "148"], ["created_at", "2015-04-29 16:46:32.311385"], ["updated_at", "2015-04-29 16:46:32.311385"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
704
720
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
705
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
706
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
707
|
-
[1m[35m (0.1ms)[0m BEGIN
|
708
|
-
----------------------------------------------------------------------
|
709
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
710
|
-
----------------------------------------------------------------------
|
711
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
712
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
713
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
714
721
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
715
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
722
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "149"], ["created_at", "2015-04-29 16:46:32.313586"], ["updated_at", "2015-04-29 16:46:32.313586"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
716
723
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
717
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
718
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
719
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
720
|
-
----------------------------------------------------------------------
|
721
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
722
|
-
----------------------------------------------------------------------
|
723
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
724
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
725
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
726
724
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
727
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
725
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "150"], ["created_at", "2015-04-29 16:46:32.315756"], ["updated_at", "2015-04-29 16:46:32.315756"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
728
726
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
729
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
730
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
731
|
-
[1m[35m (0.1ms)[0m BEGIN
|
732
|
-
----------------------------------------------------------------------
|
733
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
|
734
|
-
----------------------------------------------------------------------
|
735
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
736
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
737
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
738
727
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
739
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
728
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "151"], ["created_at", "2015-04-29 16:46:32.317853"], ["updated_at", "2015-04-29 16:46:32.317853"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
740
729
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
741
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
742
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
743
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
744
|
-
----------------------------------------------------------------------
|
745
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
|
746
|
-
----------------------------------------------------------------------
|
747
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
748
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
749
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
750
730
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
751
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
731
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "152"], ["created_at", "2015-04-29 16:46:32.320040"], ["updated_at", "2015-04-29 16:46:32.320040"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
752
732
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
753
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
754
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
755
|
-
[1m[35m (0.1ms)[0m BEGIN
|
756
|
-
----------------------------------------------------------------------
|
757
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
|
758
|
-
----------------------------------------------------------------------
|
759
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
760
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
761
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
762
733
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
763
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
734
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "153"], ["created_at", "2015-04-29 16:46:32.322143"], ["updated_at", "2015-04-29 16:46:32.322143"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
764
735
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
765
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
766
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
767
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
768
|
-
-----------------------------------------------------------------------
|
769
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
770
|
-
-----------------------------------------------------------------------
|
771
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
772
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
773
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
774
736
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
775
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
737
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "154"], ["created_at", "2015-04-29 16:46:32.324179"], ["updated_at", "2015-04-29 16:46:32.324179"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
776
738
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
777
739
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
778
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
740
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "155"], ["created_at", "2015-04-29 16:46:32.326186"], ["updated_at", "2015-04-29 16:46:32.326186"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
779
741
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
780
742
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
781
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
743
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "156"], ["created_at", "2015-04-29 16:46:32.328170"], ["updated_at", "2015-04-29 16:46:32.328170"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
782
744
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
783
745
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
784
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
746
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "157"], ["created_at", "2015-04-29 16:46:32.330299"], ["updated_at", "2015-04-29 16:46:32.330299"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
785
747
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
786
|
-
[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
|
787
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
788
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
789
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
790
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
791
|
-
-----------------------------------------------------------------------
|
792
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
793
|
-
-----------------------------------------------------------------------
|
794
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
795
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
796
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
797
748
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
798
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
749
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "158"], ["created_at", "2015-04-29 16:46:32.332372"], ["updated_at", "2015-04-29 16:46:32.332372"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
799
750
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
800
751
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
801
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
752
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "159"], ["created_at", "2015-04-29 16:46:32.334386"], ["updated_at", "2015-04-29 16:46:32.334386"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
802
753
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
803
754
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
804
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
755
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "160"], ["created_at", "2015-04-29 16:46:32.336406"], ["updated_at", "2015-04-29 16:46:32.336406"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
805
756
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
806
757
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
807
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
758
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "161"], ["created_at", "2015-04-29 16:46:32.338436"], ["updated_at", "2015-04-29 16:46:32.338436"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
808
759
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
809
|
-
[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
|
810
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
811
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
812
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
813
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
814
|
-
-----------------------------------------------------------------------
|
815
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
|
816
|
-
-----------------------------------------------------------------------
|
817
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
818
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
819
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
820
760
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
821
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
761
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "162"], ["created_at", "2015-04-29 16:46:32.340532"], ["updated_at", "2015-04-29 16:46:32.340532"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
822
762
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
823
763
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
824
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
764
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "163"], ["created_at", "2015-04-29 16:46:32.342798"], ["updated_at", "2015-04-29 16:46:32.342798"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
825
765
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
826
766
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
827
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
767
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "164"], ["created_at", "2015-04-29 16:46:32.344985"], ["updated_at", "2015-04-29 16:46:32.344985"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
828
768
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
769
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
770
|
+
Parameters: {"filter"=>"image"}
|
771
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
772
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
773
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
774
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
775
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
776
|
+
[1m[35m (0.1ms)[0m BEGIN
|
777
|
+
--------------------------------------------------------------------------------------
|
778
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0001_anonymous
|
779
|
+
--------------------------------------------------------------------------------------
|
780
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
781
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
782
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
829
783
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
830
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
784
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "165"], ["created_at", "2015-04-29 16:46:32.354791"], ["updated_at", "2015-04-29 16:46:32.354791"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
831
785
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
832
|
-
[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
|
833
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
834
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
835
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
836
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
837
|
-
-----------------------------------------------------------------------
|
838
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
839
|
-
-----------------------------------------------------------------------
|
840
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
841
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
842
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
843
786
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
787
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "166"], ["created_at", "2015-04-29 16:46:32.357163"], ["updated_at", "2015-04-29 16:46:32.357163"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
845
788
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
846
789
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
790
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "167"], ["created_at", "2015-04-29 16:46:32.359377"], ["updated_at", "2015-04-29 16:46:32.359377"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
848
791
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
849
792
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
793
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "168"], ["created_at", "2015-04-29 16:46:32.361465"], ["updated_at", "2015-04-29 16:46:32.361465"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
851
794
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
852
795
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
853
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
796
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "169"], ["created_at", "2015-04-29 16:46:32.363760"], ["updated_at", "2015-04-29 16:46:32.363760"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
854
797
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
855
|
-
[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
|
856
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
857
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
858
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
859
|
-
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
860
|
-
-----------------------------------------------------------------------
|
861
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
862
|
-
-----------------------------------------------------------------------
|
863
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
864
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
865
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
866
798
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
867
|
-
[1m[35mSQL (0.
|
799
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "170"], ["created_at", "2015-04-29 16:46:32.366037"], ["updated_at", "2015-04-29 16:46:32.366037"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
868
800
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
869
801
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
870
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
802
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "171"], ["created_at", "2015-04-29 16:46:32.368219"], ["updated_at", "2015-04-29 16:46:32.368219"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
871
803
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
872
804
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
873
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
805
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "172"], ["created_at", "2015-04-29 16:46:32.370375"], ["updated_at", "2015-04-29 16:46:32.370375"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
874
806
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
875
807
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
876
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
808
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "173"], ["created_at", "2015-04-29 16:46:32.372497"], ["updated_at", "2015-04-29 16:46:32.372497"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
877
809
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
878
|
-
[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
|
879
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
880
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
881
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
882
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
883
|
-
-----------------------------------------------------------------------
|
884
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
885
|
-
-----------------------------------------------------------------------
|
886
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
887
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
888
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
889
810
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
890
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
811
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "174"], ["created_at", "2015-04-29 16:46:32.374723"], ["updated_at", "2015-04-29 16:46:32.374723"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
891
812
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
892
813
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
893
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
814
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "175"], ["created_at", "2015-04-29 16:46:32.376891"], ["updated_at", "2015-04-29 16:46:32.376891"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
894
815
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
895
816
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
896
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
817
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "176"], ["created_at", "2015-04-29 16:46:32.379058"], ["updated_at", "2015-04-29 16:46:32.379058"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
897
818
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
898
819
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
899
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
820
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "177"], ["created_at", "2015-04-29 16:46:32.381271"], ["updated_at", "2015-04-29 16:46:32.381271"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
900
821
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
901
|
-
[1m[36m (0.
|
902
|
-
[1m[
|
822
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
823
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "178"], ["created_at", "2015-04-29 16:46:32.383297"], ["updated_at", "2015-04-29 16:46:32.383297"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
824
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
825
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
826
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "179"], ["created_at", "2015-04-29 16:46:32.385696"], ["updated_at", "2015-04-29 16:46:32.385696"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
827
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
828
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
829
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "180"], ["created_at", "2015-04-29 16:46:32.388027"], ["updated_at", "2015-04-29 16:46:32.388027"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
830
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
831
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
832
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "181"], ["created_at", "2015-04-29 16:46:32.390157"], ["updated_at", "2015-04-29 16:46:32.390157"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
833
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
834
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
835
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "182"], ["created_at", "2015-04-29 16:46:32.392407"], ["updated_at", "2015-04-29 16:46:32.392407"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
836
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
837
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
838
|
+
Parameters: {"filter"=>"file"}
|
839
|
+
[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
|
840
|
+
[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
|
841
|
+
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
842
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
903
843
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
904
844
|
[1m[35m (0.1ms)[0m BEGIN
|
905
|
-
|
906
|
-
PushType::
|
907
|
-
|
845
|
+
--------------------------------------------------------------------------------------
|
846
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0004_anonymous
|
847
|
+
--------------------------------------------------------------------------------------
|
908
848
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
909
849
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
910
850
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
911
851
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
912
|
-
[1m[36mSQL (0.
|
852
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-29 16:46:32.410310"], ["updated_at", "2015-04-29 16:46:32.410310"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
913
853
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
914
854
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
915
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
855
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "184"], ["created_at", "2015-04-29 16:46:32.412893"], ["updated_at", "2015-04-29 16:46:32.412893"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
916
856
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
917
857
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
918
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
858
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "185"], ["created_at", "2015-04-29 16:46:32.415248"], ["updated_at", "2015-04-29 16:46:32.415248"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
919
859
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
920
860
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
921
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
922
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
923
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
924
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
925
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
926
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
927
|
-
-----------------------------------------------------------------------
|
928
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0005_anonymous
|
929
|
-
-----------------------------------------------------------------------
|
930
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
931
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
932
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
933
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
934
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "181"], ["created_at", "2015-04-23 12:28:03.085938"], ["updated_at", "2015-04-23 12:28:03.085938"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
861
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "186"], ["created_at", "2015-04-29 16:46:32.417556"], ["updated_at", "2015-04-29 16:46:32.417556"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
935
862
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
936
863
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
937
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
864
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-29 16:46:32.419794"], ["updated_at", "2015-04-29 16:46:32.419794"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
938
865
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
939
866
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
940
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
867
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "188"], ["created_at", "2015-04-29 16:46:32.422214"], ["updated_at", "2015-04-29 16:46:32.422214"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
941
868
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
942
869
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
943
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
944
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
945
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
946
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
947
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
948
|
-
[1m[35m (0.1ms)[0m BEGIN
|
949
|
-
-----------------------------------------------------------------------
|
950
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
|
951
|
-
-----------------------------------------------------------------------
|
952
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
953
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
954
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
955
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
956
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "185"], ["created_at", "2015-04-23 12:28:03.098520"], ["updated_at", "2015-04-23 12:28:03.098520"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
870
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "189"], ["created_at", "2015-04-29 16:46:32.424599"], ["updated_at", "2015-04-29 16:46:32.424599"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
957
871
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
958
872
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
959
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
873
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "190"], ["created_at", "2015-04-29 16:46:32.426839"], ["updated_at", "2015-04-29 16:46:32.426839"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
960
874
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
961
875
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
962
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
876
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "191"], ["created_at", "2015-04-29 16:46:32.429131"], ["updated_at", "2015-04-29 16:46:32.429131"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
963
877
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
964
878
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
965
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
879
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "192"], ["created_at", "2015-04-29 16:46:32.431271"], ["updated_at", "2015-04-29 16:46:32.431271"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
966
880
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
967
|
-
[1m[35m (0.1ms)[0m
|
968
|
-
[1m[
|
969
|
-
[1m[35m (0.1ms)[0m
|
970
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
971
|
-
-----------------------------------------------------------------------
|
972
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
973
|
-
-----------------------------------------------------------------------
|
974
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
975
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
976
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
881
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
882
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "193"], ["created_at", "2015-04-29 16:46:32.433541"], ["updated_at", "2015-04-29 16:46:32.433541"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
883
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
977
884
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "
|
885
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "194"], ["created_at", "2015-04-29 16:46:32.435717"], ["updated_at", "2015-04-29 16:46:32.435717"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
979
886
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
980
887
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "195"], ["created_at", "2015-04-29 16:46:32.437814"], ["updated_at", "2015-04-29 16:46:32.437814"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
982
889
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
983
890
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
984
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
891
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "196"], ["created_at", "2015-04-29 16:46:32.440068"], ["updated_at", "2015-04-29 16:46:32.440068"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
985
892
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
986
893
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
987
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
894
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "197"], ["created_at", "2015-04-29 16:46:32.442281"], ["updated_at", "2015-04-29 16:46:32.442281"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
988
895
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
989
|
-
[1m[36m (0.
|
990
|
-
[1m[
|
991
|
-
[1m[36m (0.1ms)[0m [
|
992
|
-
[1m[35m (0.1ms)[0m BEGIN
|
993
|
-
-------------------------------------------------------------------------------------
|
994
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
|
995
|
-
-------------------------------------------------------------------------------------
|
996
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
997
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
998
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
999
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1000
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f80bfe86830 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150423-5516-xcvi2m>>}}
|
896
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
897
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "198"], ["created_at", "2015-04-29 16:46:32.444578"], ["updated_at", "2015-04-29 16:46:32.444578"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
898
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1001
899
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1002
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
900
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "199"], ["created_at", "2015-04-29 16:46:32.446789"], ["updated_at", "2015-04-29 16:46:32.446789"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1003
901
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1004
|
-
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1005
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1006
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1007
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1008
|
-
-------------------------------------------------------------------------------------
|
1009
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
|
1010
|
-
-------------------------------------------------------------------------------------
|
1011
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1012
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1013
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1014
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1015
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f80c39c22c8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150423-5516-1glpgr1>>}}
|
1016
902
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1017
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
903
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "200"], ["created_at", "2015-04-29 16:46:32.448847"], ["updated_at", "2015-04-29 16:46:32.448847"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1018
904
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1019
|
-
|
905
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
906
|
+
Parameters: {"filter"=>"file"}
|
907
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
908
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
909
|
+
Completed 200 OK in 10ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
1020
910
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1021
911
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1022
912
|
[1m[35m (0.1ms)[0m BEGIN
|
1023
|
-
|
1024
|
-
PushType::WysiwygMediaController::
|
1025
|
-
|
913
|
+
--------------------------------------------------------------------------------------
|
914
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0002_anonymous
|
915
|
+
--------------------------------------------------------------------------------------
|
1026
916
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1027
917
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1028
918
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1029
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1030
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f80c1fb9b60 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150423-5516-4pheju>>}}
|
1031
919
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1032
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
920
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "201"], ["created_at", "2015-04-29 16:46:32.464576"], ["updated_at", "2015-04-29 16:46:32.464576"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1033
921
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1034
|
-
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1035
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1036
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1037
|
-
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
1038
|
-
--------------------------------------------------------------------------------------
|
1039
|
-
PushType::WysiwygMediaController::GET #index::filtering for files: test_0003_anonymous
|
1040
|
-
--------------------------------------------------------------------------------------
|
1041
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1042
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1043
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1044
922
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1045
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
923
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "202"], ["created_at", "2015-04-29 16:46:32.466726"], ["updated_at", "2015-04-29 16:46:32.466726"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1046
924
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1047
925
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1048
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
926
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "203"], ["created_at", "2015-04-29 16:46:32.468754"], ["updated_at", "2015-04-29 16:46:32.468754"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1049
927
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1050
928
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1051
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
929
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "204"], ["created_at", "2015-04-29 16:46:32.470989"], ["updated_at", "2015-04-29 16:46:32.470989"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1052
930
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1053
931
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1054
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
932
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "205"], ["created_at", "2015-04-29 16:46:32.473021"], ["updated_at", "2015-04-29 16:46:32.473021"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1055
933
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1056
934
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1057
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
935
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "206"], ["created_at", "2015-04-29 16:46:32.475273"], ["updated_at", "2015-04-29 16:46:32.475273"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1058
936
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1059
937
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1060
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
938
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "207"], ["created_at", "2015-04-29 16:46:32.477318"], ["updated_at", "2015-04-29 16:46:32.477318"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1061
939
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1062
940
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1063
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
941
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "208"], ["created_at", "2015-04-29 16:46:32.479323"], ["updated_at", "2015-04-29 16:46:32.479323"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1064
942
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1065
943
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1066
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
944
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "209"], ["created_at", "2015-04-29 16:46:32.481304"], ["updated_at", "2015-04-29 16:46:32.481304"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1067
945
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1068
946
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1069
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
947
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "210"], ["created_at", "2015-04-29 16:46:32.483275"], ["updated_at", "2015-04-29 16:46:32.483275"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1070
948
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1071
949
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1072
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
950
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "211"], ["created_at", "2015-04-29 16:46:32.485262"], ["updated_at", "2015-04-29 16:46:32.485262"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1073
951
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1074
952
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1075
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
953
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "212"], ["created_at", "2015-04-29 16:46:32.487256"], ["updated_at", "2015-04-29 16:46:32.487256"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1076
954
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1077
955
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1078
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
956
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "213"], ["created_at", "2015-04-29 16:46:32.489202"], ["updated_at", "2015-04-29 16:46:32.489202"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1079
957
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1080
958
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1081
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
959
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "214"], ["created_at", "2015-04-29 16:46:32.491153"], ["updated_at", "2015-04-29 16:46:32.491153"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1082
960
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1083
961
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1084
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
962
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "215"], ["created_at", "2015-04-29 16:46:32.493094"], ["updated_at", "2015-04-29 16:46:32.493094"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1085
963
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1086
964
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
965
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "216"], ["created_at", "2015-04-29 16:46:32.495086"], ["updated_at", "2015-04-29 16:46:32.495086"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1088
966
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1089
967
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
968
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "217"], ["created_at", "2015-04-29 16:46:32.497232"], ["updated_at", "2015-04-29 16:46:32.497232"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1091
969
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1092
970
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1093
|
-
[1m[35mSQL (0.
|
971
|
+
[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", "218"], ["created_at", "2015-04-29 16:46:32.533250"], ["updated_at", "2015-04-29 16:46:32.533250"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1094
972
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1095
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "213"], ["created_at", "2015-04-23 12:28:03.195987"], ["updated_at", "2015-04-23 12:28:03.195987"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1097
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1098
973
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1099
974
|
Parameters: {"filter"=>"file"}
|
1100
|
-
[1m[
|
1101
|
-
[1m[
|
1102
|
-
Completed 200 OK in
|
1103
|
-
[1m[
|
1104
|
-
[1m[
|
1105
|
-
[1m[
|
975
|
+
[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
|
976
|
+
[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
|
977
|
+
Completed 200 OK in 10ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
978
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
979
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
980
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1106
981
|
--------------------------------------------------------------------------------------
|
1107
|
-
PushType::WysiwygMediaController::GET #index::filtering for files:
|
982
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0003_anonymous
|
1108
983
|
--------------------------------------------------------------------------------------
|
1109
|
-
[1m[
|
1110
|
-
[1m[
|
1111
|
-
[1m[
|
1112
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1113
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "214"], ["created_at", "2015-04-23 12:28:03.217146"], ["updated_at", "2015-04-23 12:28:03.217146"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1114
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
984
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
986
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1115
987
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1116
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
988
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "219"], ["created_at", "2015-04-29 16:46:32.548749"], ["updated_at", "2015-04-29 16:46:32.548749"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1117
989
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1118
990
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1119
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
991
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "220"], ["created_at", "2015-04-29 16:46:32.550860"], ["updated_at", "2015-04-29 16:46:32.550860"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1120
992
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1121
993
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1122
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
994
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "221"], ["created_at", "2015-04-29 16:46:32.552845"], ["updated_at", "2015-04-29 16:46:32.552845"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1123
995
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1124
996
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1125
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
997
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "222"], ["created_at", "2015-04-29 16:46:32.554836"], ["updated_at", "2015-04-29 16:46:32.554836"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1126
998
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1127
999
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1128
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1000
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "223"], ["created_at", "2015-04-29 16:46:32.557713"], ["updated_at", "2015-04-29 16:46:32.557713"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1129
1001
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1130
1002
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1131
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1003
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "224"], ["created_at", "2015-04-29 16:46:32.560441"], ["updated_at", "2015-04-29 16:46:32.560441"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1132
1004
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1133
1005
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1134
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1006
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "225"], ["created_at", "2015-04-29 16:46:32.562768"], ["updated_at", "2015-04-29 16:46:32.562768"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1135
1007
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1136
1008
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1137
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1009
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "226"], ["created_at", "2015-04-29 16:46:32.565379"], ["updated_at", "2015-04-29 16:46:32.565379"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1138
1010
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1139
1011
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1140
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1012
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "227"], ["created_at", "2015-04-29 16:46:32.567802"], ["updated_at", "2015-04-29 16:46:32.567802"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1141
1013
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1142
1014
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1143
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1015
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "228"], ["created_at", "2015-04-29 16:46:32.570074"], ["updated_at", "2015-04-29 16:46:32.570074"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1144
1016
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1145
1017
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1146
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1018
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "229"], ["created_at", "2015-04-29 16:46:32.572540"], ["updated_at", "2015-04-29 16:46:32.572540"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1147
1019
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1148
1020
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1149
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1021
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "230"], ["created_at", "2015-04-29 16:46:32.574956"], ["updated_at", "2015-04-29 16:46:32.574956"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1150
1022
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1151
1023
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1152
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1024
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "231"], ["created_at", "2015-04-29 16:46:32.577298"], ["updated_at", "2015-04-29 16:46:32.577298"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1153
1025
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1154
1026
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1027
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "232"], ["created_at", "2015-04-29 16:46:32.579549"], ["updated_at", "2015-04-29 16:46:32.579549"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1156
1028
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1157
1029
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1030
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "233"], ["created_at", "2015-04-29 16:46:32.581934"], ["updated_at", "2015-04-29 16:46:32.581934"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1159
1031
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1160
1032
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1033
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "234"], ["created_at", "2015-04-29 16:46:32.584215"], ["updated_at", "2015-04-29 16:46:32.584215"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1162
1034
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1163
1035
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1036
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "235"], ["created_at", "2015-04-29 16:46:32.586294"], ["updated_at", "2015-04-29 16:46:32.586294"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1165
1037
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1038
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1039
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "236"], ["created_at", "2015-04-29 16:46:32.588511"], ["updated_at", "2015-04-29 16:46:32.588511"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1040
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1166
1041
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1167
1042
|
Parameters: {"filter"=>"file"}
|
1168
|
-
[1m[
|
1169
|
-
[1m[
|
1170
|
-
Completed 200 OK in
|
1043
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
1044
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
1045
|
+
Completed 200 OK in 11ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
1046
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1047
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1048
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1049
|
+
----------------------------------------------------------------------
|
1050
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
|
1051
|
+
----------------------------------------------------------------------
|
1052
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1053
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1054
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1055
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1056
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "237"], ["created_at", "2015-04-29 16:46:32.607494"], ["updated_at", "2015-04-29 16:46:32.607494"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1057
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1171
1058
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1172
1059
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1173
1060
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1174
|
-
|
1175
|
-
PushType::
|
1176
|
-
|
1061
|
+
----------------------------------------------------------------------
|
1062
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
|
1063
|
+
----------------------------------------------------------------------
|
1177
1064
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1178
1065
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1179
1066
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1180
1067
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1181
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1182
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1183
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1184
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "233"], ["created_at", "2015-04-23 12:28:03.291864"], ["updated_at", "2015-04-23 12:28:03.291864"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1185
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1186
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1187
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "234"], ["created_at", "2015-04-23 12:28:03.294261"], ["updated_at", "2015-04-23 12:28:03.294261"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1068
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "238"], ["created_at", "2015-04-29 16:46:32.611462"], ["updated_at", "2015-04-29 16:46:32.611462"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1188
1069
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1070
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1071
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1072
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1073
|
+
----------------------------------------------------------------------
|
1074
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
|
1075
|
+
----------------------------------------------------------------------
|
1076
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1077
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1078
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1189
1079
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1190
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1080
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "239"], ["created_at", "2015-04-29 16:46:32.615448"], ["updated_at", "2015-04-29 16:46:32.615448"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1191
1081
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1082
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1083
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1084
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1085
|
+
----------------------------------------------------------------------
|
1086
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
|
1087
|
+
----------------------------------------------------------------------
|
1088
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1089
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1090
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1192
1091
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1193
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1092
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "240"], ["created_at", "2015-04-29 16:46:32.619245"], ["updated_at", "2015-04-29 16:46:32.619245"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1194
1093
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1094
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1095
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1096
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1097
|
+
----------------------------------------------------------------------
|
1098
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
1099
|
+
----------------------------------------------------------------------
|
1100
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1101
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1102
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1195
1103
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1196
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1104
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "241"], ["created_at", "2015-04-29 16:46:32.622922"], ["updated_at", "2015-04-29 16:46:32.622922"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1197
1105
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1106
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1107
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1108
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1109
|
+
----------------------------------------------------------------------
|
1110
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
1111
|
+
----------------------------------------------------------------------
|
1112
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1113
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1114
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1198
1115
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1199
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1116
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "242"], ["created_at", "2015-04-29 16:46:32.626874"], ["updated_at", "2015-04-29 16:46:32.626874"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1200
1117
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1118
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1119
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1120
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1121
|
+
----------------------------------------------------------------------
|
1122
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
1123
|
+
----------------------------------------------------------------------
|
1124
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1126
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1201
1127
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1202
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1128
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "243"], ["created_at", "2015-04-29 16:46:32.630653"], ["updated_at", "2015-04-29 16:46:32.630653"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1203
1129
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1130
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1131
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1132
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1133
|
+
----------------------------------------------------------------------------------------
|
1134
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
|
1135
|
+
----------------------------------------------------------------------------------------
|
1136
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1137
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1138
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1139
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1140
|
+
Parameters: {"asset"=>{}}
|
1204
1141
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1205
|
-
[1m[
|
1206
|
-
|
1207
|
-
[1m[
|
1208
|
-
[1m[
|
1209
|
-
[1m[
|
1142
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
1143
|
+
Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1144
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1145
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1146
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1147
|
+
----------------------------------------------------------------------------------------
|
1148
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
|
1149
|
+
----------------------------------------------------------------------------------------
|
1150
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1151
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1152
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1153
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1154
|
+
Parameters: {"asset"=>{}}
|
1210
1155
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1211
|
-
[1m[
|
1212
|
-
|
1213
|
-
[1m[
|
1214
|
-
[1m[
|
1215
|
-
[1m[
|
1156
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
1157
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1158
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1159
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1160
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1161
|
+
----------------------------------------------------------------------------------------
|
1162
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0001_anonymous
|
1163
|
+
----------------------------------------------------------------------------------------
|
1164
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1165
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1166
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1167
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1168
|
+
Parameters: {"asset"=>{}}
|
1216
1169
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1217
|
-
[1m[
|
1218
|
-
|
1219
|
-
[1m[
|
1220
|
-
[1m[
|
1221
|
-
[1m[
|
1170
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
1171
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
1172
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1173
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1174
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1175
|
+
-----------------------------------------------------------------------
|
1176
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
1177
|
+
-----------------------------------------------------------------------
|
1178
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1179
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1180
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1222
1181
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1223
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1182
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "244"], ["created_at", "2015-04-29 16:46:32.658483"], ["updated_at", "2015-04-29 16:46:32.658483"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1224
1183
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1225
1184
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1226
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1185
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "245"], ["created_at", "2015-04-29 16:46:32.660978"], ["updated_at", "2015-04-29 16:46:32.660978"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1227
1186
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1228
1187
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "
|
1188
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "246"], ["created_at", "2015-04-29 16:46:32.663133"], ["updated_at", "2015-04-29 16:46:32.663133"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1230
1189
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1231
1190
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "
|
1191
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "247"], ["created_at", "2015-04-29 16:46:32.665289"], ["updated_at", "2015-04-29 16:46:32.665289"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1233
1192
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1234
|
-
|
1235
|
-
|
1236
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
1237
|
-
[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/%')
|
1238
|
-
Completed 200 OK in 15ms (Views: 0.9ms | ActiveRecord: 0.6ms)
|
1193
|
+
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
1194
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1239
1195
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1240
1196
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1241
1197
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1242
|
-
|
1243
|
-
PushType::
|
1244
|
-
|
1245
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1246
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1198
|
+
-----------------------------------------------------------------------
|
1199
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
1200
|
+
-----------------------------------------------------------------------
|
1247
1201
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1202
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1203
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1248
1204
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1249
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1250
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1251
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1252
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-04-23 12:28:03.364340"], ["updated_at", "2015-04-23 12:28:03.364340"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1253
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1254
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1255
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "252"], ["created_at", "2015-04-23 12:28:03.367437"], ["updated_at", "2015-04-23 12:28:03.367437"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1205
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "248"], ["created_at", "2015-04-29 16:46:32.671011"], ["updated_at", "2015-04-29 16:46:32.671011"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1256
1206
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1257
1207
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1258
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1208
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "249"], ["created_at", "2015-04-29 16:46:32.673406"], ["updated_at", "2015-04-29 16:46:32.673406"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1259
1209
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1260
1210
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1261
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1211
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "250"], ["created_at", "2015-04-29 16:46:32.675540"], ["updated_at", "2015-04-29 16:46:32.675540"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1262
1212
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1263
1213
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1264
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1214
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-04-29 16:46:32.677841"], ["updated_at", "2015-04-29 16:46:32.677841"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1265
1215
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1216
|
+
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
1217
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1218
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1219
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1220
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
1221
|
+
-----------------------------------------------------------------------
|
1222
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
1223
|
+
-----------------------------------------------------------------------
|
1224
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1225
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1226
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1266
1227
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1267
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1228
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "252"], ["created_at", "2015-04-29 16:46:32.683694"], ["updated_at", "2015-04-29 16:46:32.683694"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1268
1229
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1269
1230
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1270
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "253"], ["created_at", "2015-04-29 16:46:32.686123"], ["updated_at", "2015-04-29 16:46:32.686123"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1271
1232
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1272
1233
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1273
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1234
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "254"], ["created_at", "2015-04-29 16:46:32.688232"], ["updated_at", "2015-04-29 16:46:32.688232"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1274
1235
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1275
1236
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1276
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1237
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "255"], ["created_at", "2015-04-29 16:46:32.690341"], ["updated_at", "2015-04-29 16:46:32.690341"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1277
1238
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1239
|
+
[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
|
1240
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1241
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1242
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1243
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1244
|
+
-----------------------------------------------------------------------
|
1245
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
|
1246
|
+
-----------------------------------------------------------------------
|
1247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1248
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1249
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1278
1250
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1279
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1251
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "256"], ["created_at", "2015-04-29 16:46:32.696173"], ["updated_at", "2015-04-29 16:46:32.696173"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1280
1252
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1281
1253
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1282
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1254
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "257"], ["created_at", "2015-04-29 16:46:32.698519"], ["updated_at", "2015-04-29 16:46:32.698519"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1283
1255
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1284
1256
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1285
|
-
[1m[35mSQL (0.
|
1257
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "258"], ["created_at", "2015-04-29 16:46:32.700700"], ["updated_at", "2015-04-29 16:46:32.700700"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1286
1258
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1287
1259
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1288
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1260
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "259"], ["created_at", "2015-04-29 16:46:32.702804"], ["updated_at", "2015-04-29 16:46:32.702804"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1289
1261
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1262
|
+
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
1263
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1264
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1265
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1266
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1267
|
+
-----------------------------------------------------------------------
|
1268
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
1269
|
+
-----------------------------------------------------------------------
|
1270
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1271
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1272
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1290
1273
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "
|
1274
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "260"], ["created_at", "2015-04-29 16:46:32.708473"], ["updated_at", "2015-04-29 16:46:32.708473"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1292
1275
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1293
1276
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "
|
1277
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "261"], ["created_at", "2015-04-29 16:46:32.710810"], ["updated_at", "2015-04-29 16:46:32.710810"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1295
1278
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1296
1279
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
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", "
|
1280
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "262"], ["created_at", "2015-04-29 16:46:32.713075"], ["updated_at", "2015-04-29 16:46:32.713075"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1298
1281
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1299
1282
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
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", "
|
1283
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "263"], ["created_at", "2015-04-29 16:46:32.715260"], ["updated_at", "2015-04-29 16:46:32.715260"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1301
1284
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1302
|
-
|
1303
|
-
|
1304
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
1305
|
-
[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/%')
|
1306
|
-
Completed 200 OK in 15ms (Views: 0.8ms | ActiveRecord: 0.6ms)
|
1285
|
+
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
1286
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1307
1287
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1308
1288
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1309
1289
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1310
|
-
|
1311
|
-
PushType::WysiwygMediaController::POST #create::with
|
1312
|
-
|
1313
|
-
[1m[35m (0.
|
1290
|
+
-------------------------------------------------------------------------------------
|
1291
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
|
1292
|
+
-------------------------------------------------------------------------------------
|
1293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1314
1294
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1315
|
-
[1m[35m (0.
|
1295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1316
1296
|
Processing by PushType::WysiwygMediaController#create as JSON
|
1317
|
-
Parameters: {"asset"=>{}}
|
1297
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff595d17b20 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9740-z2jhqq>>}}
|
1318
1298
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1319
|
-
[1m[
|
1320
|
-
|
1299
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "264"], ["created_at", "2015-04-29 16:46:32.723504"], ["updated_at", "2015-04-29 16:46:32.723504"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1300
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1301
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1302
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1303
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1304
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1305
|
+
-------------------------------------------------------------------------------------
|
1306
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
|
1307
|
+
-------------------------------------------------------------------------------------
|
1308
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1309
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1310
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1311
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1312
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff595c86eb8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9740-1ghipio>>}}
|
1313
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1314
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "265"], ["created_at", "2015-04-29 16:46:32.729492"], ["updated_at", "2015-04-29 16:46:32.729492"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1315
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1316
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1321
1317
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1322
1318
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1323
1319
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1324
|
-
|
1325
|
-
PushType::WysiwygMediaController::POST #create::with
|
1326
|
-
|
1327
|
-
[1m[35m (0.
|
1328
|
-
[1m[36m (0.
|
1329
|
-
[1m[35m (0.
|
1320
|
+
-------------------------------------------------------------------------------------
|
1321
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
|
1322
|
+
-------------------------------------------------------------------------------------
|
1323
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1324
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1325
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1330
1326
|
Processing by PushType::WysiwygMediaController#create as JSON
|
1331
|
-
Parameters: {"asset"=>{}}
|
1327
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff595bf6638 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9740-17uf5z1>>}}
|
1332
1328
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1333
|
-
[1m[
|
1329
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "266"], ["created_at", "2015-04-29 16:46:32.735292"], ["updated_at", "2015-04-29 16:46:32.735292"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1330
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1334
1331
|
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
1335
|
-
[1m[
|
1336
|
-
[1m[
|
1337
|
-
[1m[
|
1338
|
-
|
1339
|
-
PushType::WysiwygMediaController::POST #create::
|
1340
|
-
|
1341
|
-
[1m[
|
1342
|
-
[1m[
|
1343
|
-
[1m[
|
1332
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1333
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1334
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1335
|
+
--------------------------------------------------------------------------------
|
1336
|
+
PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
|
1337
|
+
--------------------------------------------------------------------------------
|
1338
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1339
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1341
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1344
1342
|
Processing by PushType::WysiwygMediaController#create as JSON
|
1345
|
-
Parameters: {"asset"=>{}}
|
1343
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007ff59596a158 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150429-9740-1tde7t3>>}}
|
1346
1344
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1347
|
-
[1m[
|
1348
|
-
|
1345
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "267"], ["created_at", "2015-04-29 16:46:32.742356"], ["updated_at", "2015-04-29 16:46:32.742356"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1346
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1347
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1348
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1349
1349
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1350
1350
|
[1m[35m (0.1ms)[0m ROLLBACK
|