push_type_wysiwyg 0.5.0.alpha.5 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150601132852_create_push_type_users.push_type.rb → 20150716155055_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150601132853_create_push_type_nodes.push_type.rb → 20150716155056_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150601132854_create_push_type_node_hierarchies.push_type.rb → 20150716155057_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150601132855_create_push_type_assets.push_type.rb → 20150716155058_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150601132856_create_push_type_taxonomies.push_type.rb → 20150716155059_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150601132857_create_push_type_taxonomy_hierarchies.push_type.rb → 20150716155060_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150601132858_add_field_store_default_values.push_type.rb → 20150716155061_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +704 -704
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EbaghK7WkVIzsKnewW2dOyr__okSe5VRDicJ32ZHDyA.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ei2L0uIaXjgl1f2cOn_RAqHa0efsfucFVRKEI72Scpw.cache +4 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yQyCExmcScF55PbC62h3j4_x1X37cPjB6OM0Mt9BVP4.cache +1 -0
- metadata +30 -30
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/APkO7Y5jGgAltMtew8SHO_mOZoHi4ultsTI-Xfegu7M.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FmSPQu2npp_BNGAl1uB43rU-5z1OzMJ16MFmakAjQ0U.cache +0 -3
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pcBJDzQJeDhw_S0sAXVzEqXr-q6ocrojEfTAlMgzh4k.cache +0 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 20b03ac15396591be5b47327ca973d400fd73ff0
|
|
4
|
+
data.tar.gz: f45555c09953f780530eb8ea0e78d6f258d6bf75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ac9ce73f2792164e182d7bbc64473eef7f1a1f440edea221c0cef77a12cf8321d500d1593aeb04f223ce24f6588029b948cfd39a0f0c81d9a91b17afda95ab7
|
|
7
|
+
data.tar.gz: bab437c5aa952963601e57e07872c0ec9d71bafb918b74a41dd9a0e8ea0dae1bd12724b7efea7b29c2b19b44ef17ab8f67cbd1c7b751d64e7f8789ec25bc5c1b
|
|
@@ -33,6 +33,6 @@ PushType.setup do |config|
|
|
|
33
33
|
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
|
34
34
|
# }
|
|
35
35
|
|
|
36
|
-
# config.dragonfly_secret = '
|
|
36
|
+
# config.dragonfly_secret = '381b8f8150cd0db0e97be175ad5873de46dd97503fe5a7b3187c1ea7813822f9'
|
|
37
37
|
|
|
38
38
|
end
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
# if you're sharing your code publicly.
|
|
12
12
|
|
|
13
13
|
development:
|
|
14
|
-
secret_key_base:
|
|
14
|
+
secret_key_base: 932ad0c0a09566d5a36af54e24fedc765c26da20609e662d9370ec3457ac167dce2bba49ed900c5495a2f8079e021afe50bfc4643494d24081c3698fb7455c54
|
|
15
15
|
|
|
16
16
|
test:
|
|
17
|
-
secret_key_base:
|
|
17
|
+
secret_key_base: 501930b5c7586531659800666da830bc6de7d7e5eda29339ba24ed7135c9c36932d2b32ea0aad6c952ea39b1bc7d189eb7b77208ff210b3c987773bd042eefbb
|
|
18
18
|
|
|
19
19
|
# Do not keep production secrets in the repository,
|
|
20
20
|
# instead read values from the environment.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/test/dummy/db/schema.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
|
13
13
|
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
|
14
|
+
ActiveRecord::Schema.define(version: 20150716155061) do
|
|
15
15
|
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
|
17
17
|
enable_extension "plpgsql"
|
data/test/dummy/log/test.log
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
[1m[36m (
|
|
2
|
-
[1m[35m (
|
|
1
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
|
2
|
+
[1m[35m (0.8ms)[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 (20150716155055)
|
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
|
6
|
-
[1m[36mSQL (1.
|
|
7
|
-
[1m[35m (2.
|
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
9
|
-
[1m[35m (0.
|
|
10
|
-
Migrating to CreatePushTypeNodes (
|
|
6
|
+
[1m[36mSQL (1.8ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
|
7
|
+
[1m[35m (2.2ms)[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", "20150716155055"]]
|
|
9
|
+
[1m[35m (0.6ms)[0m COMMIT
|
|
10
|
+
Migrating to CreatePushTypeNodes (20150716155056)
|
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
12
|
-
[1m[35m (
|
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
14
|
-
[1m[35m (0.
|
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
|
12
|
+
[1m[35m (1.9ms)[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", "20150716155056"]]
|
|
14
|
+
[1m[35m (0.4ms)[0m COMMIT
|
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150716155057)
|
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
17
17
|
[1m[35m (0.5ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
|
18
|
-
[1m[36m (0.
|
|
19
|
-
[1m[35m (0.
|
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
21
|
-
[1m[35m (0.
|
|
22
|
-
Migrating to CreatePushTypeAssets (
|
|
18
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
|
19
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150716155057"]]
|
|
21
|
+
[1m[35m (0.4ms)[0m COMMIT
|
|
22
|
+
Migrating to CreatePushTypeAssets (20150716155058)
|
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
24
|
-
[1m[35m (
|
|
25
|
-
[1m[36mSQL (0.
|
|
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.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150716155058"]]
|
|
26
26
|
[1m[35m (0.5ms)[0m COMMIT
|
|
27
|
-
Migrating to CreatePushTypeTaxonomies (
|
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20150716155059)
|
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
29
|
-
[1m[35m (1.
|
|
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", "20150716155059"]]
|
|
32
32
|
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (
|
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20150716155060)
|
|
34
34
|
[1m[35m (0.1ms)[0m BEGIN
|
|
35
|
-
[1m[36m (0.
|
|
36
|
-
[1m[35m (0.
|
|
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.7ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
|
37
37
|
[1m[36m (0.6ms)[0m [1mCREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")[0m
|
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
|
39
|
-
[1m[36m (0.
|
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
|
38
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150716155060"]]
|
|
39
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20150716155061)
|
|
41
41
|
[1m[35m (0.1ms)[0m BEGIN
|
|
42
42
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
|
|
43
43
|
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
|
@@ -47,7 +47,7 @@ Migrating to AddFieldStoreDefaultValues (20150601132858)
|
|
|
47
47
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
|
48
48
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
49
49
|
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
|
|
50
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
50
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150716155061"]]
|
|
51
51
|
[1m[35m (0.4ms)[0m COMMIT
|
|
52
52
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
53
53
|
[1m[35m (1.7ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
@@ -62,7 +62,7 @@ WHERE c.contype = 'f'
|
|
|
62
62
|
AND t3.nspname = ANY (current_schemas(false))
|
|
63
63
|
ORDER BY c.conname
|
|
64
64
|
|
|
65
|
-
[1m[36m (1.
|
|
65
|
+
[1m[36m (1.3ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
66
66
|
FROM pg_constraint c
|
|
67
67
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
68
68
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -74,7 +74,7 @@ WHERE c.contype = 'f'
|
|
|
74
74
|
AND t3.nspname = ANY (current_schemas(false))
|
|
75
75
|
ORDER BY c.conname
|
|
76
76
|
[0m
|
|
77
|
-
[1m[35m (1.
|
|
77
|
+
[1m[35m (1.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
78
78
|
FROM pg_constraint c
|
|
79
79
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
80
80
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -86,7 +86,7 @@ WHERE c.contype = 'f'
|
|
|
86
86
|
AND t3.nspname = ANY (current_schemas(false))
|
|
87
87
|
ORDER BY c.conname
|
|
88
88
|
|
|
89
|
-
[1m[36m (1.
|
|
89
|
+
[1m[36m (1.2ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
90
90
|
FROM pg_constraint c
|
|
91
91
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
92
92
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -98,7 +98,7 @@ WHERE c.contype = 'f'
|
|
|
98
98
|
AND t3.nspname = ANY (current_schemas(false))
|
|
99
99
|
ORDER BY c.conname
|
|
100
100
|
[0m
|
|
101
|
-
[1m[35m (1.
|
|
101
|
+
[1m[35m (1.2ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
102
102
|
FROM pg_constraint c
|
|
103
103
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
104
104
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -110,7 +110,7 @@ WHERE c.contype = 'f'
|
|
|
110
110
|
AND t3.nspname = ANY (current_schemas(false))
|
|
111
111
|
ORDER BY c.conname
|
|
112
112
|
|
|
113
|
-
[1m[36m (1.
|
|
113
|
+
[1m[36m (1.2ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
114
114
|
FROM pg_constraint c
|
|
115
115
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
116
116
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -123,1240 +123,1240 @@ WHERE c.contype = 'f'
|
|
|
123
123
|
ORDER BY c.conname
|
|
124
124
|
[0m
|
|
125
125
|
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
126
|
-
[1m[35m (0.
|
|
127
|
-
[1m[36m (
|
|
126
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL
|
|
127
|
+
[1m[36m (1.0ms)[0m [1m SELECT schemaname || '.' || tablename
|
|
128
128
|
FROM pg_tables
|
|
129
129
|
WHERE tablename !~ '_prt_' AND schemaname = ANY (current_schemas(false))
|
|
130
130
|
[0m
|
|
131
|
-
[1m[35m (
|
|
132
|
-
[1m[36m (10.
|
|
131
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
|
132
|
+
[1m[36m (10.5ms)[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
|
|
133
133
|
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
|
|
134
134
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
135
|
-
|
|
136
|
-
PushType::WysiwygMediaController::GET #index::
|
|
137
|
-
|
|
135
|
+
----------------------------------------------------------------------------------
|
|
136
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0001_anonymous
|
|
137
|
+
----------------------------------------------------------------------------------
|
|
138
138
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
139
139
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
140
140
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
141
141
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
142
|
-
[1m[35mSQL (0.
|
|
142
|
+
[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-07-16 15:51:01.218748"], ["updated_at", "2015-07-16 15:51:01.218748"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
143
143
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
144
144
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
145
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-
|
|
145
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-07-16 15:51:01.223803"], ["updated_at", "2015-07-16 15:51:01.223803"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
146
146
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
147
147
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
148
|
-
[1m[35mSQL (0.
|
|
148
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "3"], ["created_at", "2015-07-16 15:51:01.226012"], ["updated_at", "2015-07-16 15:51:01.226012"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
149
149
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
150
150
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
151
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015-
|
|
151
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015-07-16 15:51:01.228394"], ["updated_at", "2015-07-16 15:51:01.228394"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
152
152
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
153
153
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
154
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "5"], ["created_at", "2015-
|
|
154
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "5"], ["created_at", "2015-07-16 15:51:01.230427"], ["updated_at", "2015-07-16 15:51:01.230427"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
155
155
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
156
156
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
157
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "6"], ["created_at", "2015-
|
|
157
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "6"], ["created_at", "2015-07-16 15:51:01.232607"], ["updated_at", "2015-07-16 15:51:01.232607"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
158
158
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
159
159
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
160
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "7"], ["created_at", "2015-
|
|
160
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "7"], ["created_at", "2015-07-16 15:51:01.234590"], ["updated_at", "2015-07-16 15:51:01.234590"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
161
161
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
162
162
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
163
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "8"], ["created_at", "2015-
|
|
163
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "8"], ["created_at", "2015-07-16 15:51:01.236547"], ["updated_at", "2015-07-16 15:51:01.236547"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
164
164
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
165
165
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
166
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "9"], ["created_at", "2015-
|
|
166
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "9"], ["created_at", "2015-07-16 15:51:01.238986"], ["updated_at", "2015-07-16 15:51:01.238986"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
167
167
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
168
168
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
169
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "10"], ["created_at", "2015-
|
|
169
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "10"], ["created_at", "2015-07-16 15:51:01.241397"], ["updated_at", "2015-07-16 15:51:01.241397"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
170
170
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
171
171
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
172
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "11"], ["created_at", "2015-
|
|
172
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "11"], ["created_at", "2015-07-16 15:51:01.243682"], ["updated_at", "2015-07-16 15:51:01.243682"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
173
173
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
174
174
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
175
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "12"], ["created_at", "2015-
|
|
175
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "12"], ["created_at", "2015-07-16 15:51:01.245956"], ["updated_at", "2015-07-16 15:51:01.245956"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
176
176
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
177
177
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
178
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "13"], ["created_at", "2015-
|
|
178
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "13"], ["created_at", "2015-07-16 15:51:01.248032"], ["updated_at", "2015-07-16 15:51:01.248032"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
179
179
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
180
180
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
181
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "14"], ["created_at", "2015-
|
|
181
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "14"], ["created_at", "2015-07-16 15:51:01.250191"], ["updated_at", "2015-07-16 15:51:01.250191"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
182
182
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
183
183
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
184
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "15"], ["created_at", "2015-
|
|
184
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "15"], ["created_at", "2015-07-16 15:51:01.252215"], ["updated_at", "2015-07-16 15:51:01.252215"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
185
185
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
186
186
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
187
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "16"], ["created_at", "2015-
|
|
187
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "16"], ["created_at", "2015-07-16 15:51:01.254201"], ["updated_at", "2015-07-16 15:51:01.254201"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
188
188
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
189
189
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
190
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "17"], ["created_at", "2015-
|
|
190
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "17"], ["created_at", "2015-07-16 15:51:01.256183"], ["updated_at", "2015-07-16 15:51:01.256183"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
191
191
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
192
192
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
193
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "18"], ["created_at", "2015-
|
|
193
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "18"], ["created_at", "2015-07-16 15:51:01.258205"], ["updated_at", "2015-07-16 15:51:01.258205"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
194
194
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
195
195
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
196
|
-
Parameters: {"filter"=>"
|
|
197
|
-
[1m[36mPushType::Asset Load (0.6ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET
|
|
198
|
-
[1m[35m (0.
|
|
199
|
-
Completed 200 OK in
|
|
196
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
|
197
|
+
[1m[36mPushType::Asset Load (0.6ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
|
198
|
+
[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/%')
|
|
199
|
+
Completed 200 OK in 115ms (Views: 0.3ms | ActiveRecord: 0.9ms)
|
|
200
200
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
201
201
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
202
|
-
[1m[36m (0.
|
|
203
|
-
|
|
204
|
-
PushType::WysiwygMediaController::GET #index::
|
|
205
|
-
|
|
202
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
203
|
+
----------------------------------------------------------------------------------
|
|
204
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0003_anonymous
|
|
205
|
+
----------------------------------------------------------------------------------
|
|
206
206
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
207
207
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
208
208
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
209
209
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
210
|
-
[1m[35mSQL (0.
|
|
210
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "19"], ["created_at", "2015-07-16 15:51:01.380792"], ["updated_at", "2015-07-16 15:51:01.380792"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
211
211
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
212
212
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
213
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "20"], ["created_at", "2015-
|
|
213
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "20"], ["created_at", "2015-07-16 15:51:01.383425"], ["updated_at", "2015-07-16 15:51:01.383425"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
214
214
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
215
215
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
216
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "21"], ["created_at", "2015-
|
|
216
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "21"], ["created_at", "2015-07-16 15:51:01.386534"], ["updated_at", "2015-07-16 15:51:01.386534"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
217
217
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
218
218
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
219
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "22"], ["created_at", "2015-
|
|
219
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "22"], ["created_at", "2015-07-16 15:51:01.388512"], ["updated_at", "2015-07-16 15:51:01.388512"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
220
220
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
221
221
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
222
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "23"], ["created_at", "2015-
|
|
222
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "23"], ["created_at", "2015-07-16 15:51:01.390481"], ["updated_at", "2015-07-16 15:51:01.390481"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
223
223
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
224
224
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
225
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "24"], ["created_at", "2015-
|
|
225
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "24"], ["created_at", "2015-07-16 15:51:01.392505"], ["updated_at", "2015-07-16 15:51:01.392505"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
226
226
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
227
227
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
228
|
-
[1m[35mSQL (0.
|
|
228
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "25"], ["created_at", "2015-07-16 15:51:01.394829"], ["updated_at", "2015-07-16 15:51:01.394829"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
229
229
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
230
230
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
231
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "26"], ["created_at", "2015-
|
|
231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "26"], ["created_at", "2015-07-16 15:51:01.397121"], ["updated_at", "2015-07-16 15:51:01.397121"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
232
232
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
233
233
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
234
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "27"], ["created_at", "2015-
|
|
234
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "27"], ["created_at", "2015-07-16 15:51:01.399210"], ["updated_at", "2015-07-16 15:51:01.399210"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
235
235
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
236
236
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
237
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "28"], ["created_at", "2015-
|
|
237
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "28"], ["created_at", "2015-07-16 15:51:01.401260"], ["updated_at", "2015-07-16 15:51:01.401260"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
238
238
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
239
239
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
240
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "29"], ["created_at", "2015-
|
|
240
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "29"], ["created_at", "2015-07-16 15:51:01.403306"], ["updated_at", "2015-07-16 15:51:01.403306"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
241
241
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
242
242
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
243
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "30"], ["created_at", "2015-
|
|
243
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "30"], ["created_at", "2015-07-16 15:51:01.405334"], ["updated_at", "2015-07-16 15:51:01.405334"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
244
244
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
245
245
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
246
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "31"], ["created_at", "2015-
|
|
246
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "31"], ["created_at", "2015-07-16 15:51:01.407276"], ["updated_at", "2015-07-16 15:51:01.407276"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
247
247
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
248
248
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
249
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "32"], ["created_at", "2015-
|
|
249
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "32"], ["created_at", "2015-07-16 15:51:01.409250"], ["updated_at", "2015-07-16 15:51:01.409250"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
250
250
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
251
251
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
252
|
-
[1m[35mSQL (0.
|
|
252
|
+
[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", "33"], ["created_at", "2015-07-16 15:51:01.411189"], ["updated_at", "2015-07-16 15:51:01.411189"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
253
253
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
254
254
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
255
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "34"], ["created_at", "2015-
|
|
255
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "34"], ["created_at", "2015-07-16 15:51:01.413531"], ["updated_at", "2015-07-16 15:51:01.413531"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
256
256
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
257
257
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
258
|
-
[1m[35mSQL (0.
|
|
258
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "35"], ["created_at", "2015-07-16 15:51:01.415778"], ["updated_at", "2015-07-16 15:51:01.415778"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
259
259
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
260
260
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
261
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2015-
|
|
261
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2015-07-16 15:51:01.417751"], ["updated_at", "2015-07-16 15:51:01.417751"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
262
262
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
263
263
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
264
|
-
Parameters: {"filter"=>"
|
|
265
|
-
[1m[36mPushType::Asset Load (0.
|
|
266
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
|
267
|
-
Completed 200 OK in 3ms (Views: 0.
|
|
264
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
|
265
|
+
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
|
266
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
267
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
268
268
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
269
269
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
270
270
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
271
|
-
|
|
272
|
-
PushType::WysiwygMediaController::GET #index::
|
|
273
|
-
|
|
271
|
+
----------------------------------------------------------------------------------
|
|
272
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0002_anonymous
|
|
273
|
+
----------------------------------------------------------------------------------
|
|
274
274
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
275
275
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
276
276
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
277
277
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
278
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "37"], ["created_at", "2015-
|
|
278
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "37"], ["created_at", "2015-07-16 15:51:01.425087"], ["updated_at", "2015-07-16 15:51:01.425087"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
279
279
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
280
280
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
281
|
-
[1m[36mSQL (0.
|
|
281
|
+
[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", "38"], ["created_at", "2015-07-16 15:51:01.427407"], ["updated_at", "2015-07-16 15:51:01.427407"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
282
282
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
283
283
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
284
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "39"], ["created_at", "2015-
|
|
284
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "39"], ["created_at", "2015-07-16 15:51:01.429748"], ["updated_at", "2015-07-16 15:51:01.429748"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
285
285
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
286
286
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
287
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "40"], ["created_at", "2015-
|
|
287
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "40"], ["created_at", "2015-07-16 15:51:01.431851"], ["updated_at", "2015-07-16 15:51:01.431851"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
288
288
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
289
289
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
290
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "41"], ["created_at", "2015-
|
|
290
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "41"], ["created_at", "2015-07-16 15:51:01.433822"], ["updated_at", "2015-07-16 15:51:01.433822"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
291
291
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
292
292
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
293
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "42"], ["created_at", "2015-
|
|
293
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "42"], ["created_at", "2015-07-16 15:51:01.435901"], ["updated_at", "2015-07-16 15:51:01.435901"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
294
294
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
295
295
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
296
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "43"], ["created_at", "2015-
|
|
296
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "43"], ["created_at", "2015-07-16 15:51:01.437864"], ["updated_at", "2015-07-16 15:51:01.437864"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
297
297
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
298
298
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
299
|
-
[1m[36mSQL (0.
|
|
299
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "44"], ["created_at", "2015-07-16 15:51:01.440050"], ["updated_at", "2015-07-16 15:51:01.440050"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
300
300
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
301
301
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
302
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "45"], ["created_at", "2015-
|
|
302
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "45"], ["created_at", "2015-07-16 15:51:01.442166"], ["updated_at", "2015-07-16 15:51:01.442166"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
303
303
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
304
304
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
305
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "46"], ["created_at", "2015-
|
|
305
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "46"], ["created_at", "2015-07-16 15:51:01.444199"], ["updated_at", "2015-07-16 15:51:01.444199"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
306
306
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
307
307
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
308
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "47"], ["created_at", "2015-
|
|
308
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "47"], ["created_at", "2015-07-16 15:51:01.446281"], ["updated_at", "2015-07-16 15:51:01.446281"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
309
309
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
310
310
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
311
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "48"], ["created_at", "2015-
|
|
311
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "48"], ["created_at", "2015-07-16 15:51:01.448350"], ["updated_at", "2015-07-16 15:51:01.448350"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
312
312
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
313
313
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
314
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "49"], ["created_at", "2015-
|
|
314
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "49"], ["created_at", "2015-07-16 15:51:01.450333"], ["updated_at", "2015-07-16 15:51:01.450333"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
315
315
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
316
316
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
317
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "50"], ["created_at", "2015-
|
|
317
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "50"], ["created_at", "2015-07-16 15:51:01.452457"], ["updated_at", "2015-07-16 15:51:01.452457"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
318
318
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
319
319
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
320
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "51"], ["created_at", "2015-
|
|
320
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "51"], ["created_at", "2015-07-16 15:51:01.454412"], ["updated_at", "2015-07-16 15:51:01.454412"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
321
321
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
322
322
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
323
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "52"], ["created_at", "2015-
|
|
323
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "52"], ["created_at", "2015-07-16 15:51:01.456330"], ["updated_at", "2015-07-16 15:51:01.456330"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
324
324
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
325
325
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
326
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "53"], ["created_at", "2015-
|
|
326
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "53"], ["created_at", "2015-07-16 15:51:01.458409"], ["updated_at", "2015-07-16 15:51:01.458409"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
327
327
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
328
328
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
329
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015-
|
|
329
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015-07-16 15:51:01.460820"], ["updated_at", "2015-07-16 15:51:01.460820"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
330
330
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
331
331
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
332
|
-
Parameters: {"filter"=>"
|
|
333
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET
|
|
334
|
-
[1m[35m (0.
|
|
335
|
-
Completed 200 OK in
|
|
332
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
|
333
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
|
334
|
+
[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/%')
|
|
335
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
336
336
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
337
337
|
[1m[35m (0.2ms)[0m ROLLBACK
|
|
338
338
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
339
|
-
|
|
340
|
-
PushType::WysiwygMediaController::GET #index::
|
|
341
|
-
|
|
342
|
-
[1m[35m (0.
|
|
339
|
+
----------------------------------------------------------------------------------
|
|
340
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0004_anonymous
|
|
341
|
+
----------------------------------------------------------------------------------
|
|
342
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
343
343
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
344
344
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
345
345
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
346
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "55"], ["created_at", "2015-
|
|
346
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "55"], ["created_at", "2015-07-16 15:51:01.468264"], ["updated_at", "2015-07-16 15:51:01.468264"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
347
347
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
348
348
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
349
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "56"], ["created_at", "2015-
|
|
349
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "56"], ["created_at", "2015-07-16 15:51:01.470468"], ["updated_at", "2015-07-16 15:51:01.470468"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
350
350
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
351
351
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
352
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "57"], ["created_at", "2015-
|
|
352
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "57"], ["created_at", "2015-07-16 15:51:01.472399"], ["updated_at", "2015-07-16 15:51:01.472399"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
353
353
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
354
354
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
355
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "58"], ["created_at", "2015-
|
|
355
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "58"], ["created_at", "2015-07-16 15:51:01.474377"], ["updated_at", "2015-07-16 15:51:01.474377"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
356
356
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
357
357
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
358
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "59"], ["created_at", "2015-
|
|
358
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "59"], ["created_at", "2015-07-16 15:51:01.476644"], ["updated_at", "2015-07-16 15:51:01.476644"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
359
359
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
360
360
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
361
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "60"], ["created_at", "2015-
|
|
361
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "60"], ["created_at", "2015-07-16 15:51:01.478941"], ["updated_at", "2015-07-16 15:51:01.478941"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
362
362
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
363
363
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
364
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "61"], ["created_at", "2015-
|
|
364
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "61"], ["created_at", "2015-07-16 15:51:01.480990"], ["updated_at", "2015-07-16 15:51:01.480990"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
365
365
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
366
366
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
367
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "62"], ["created_at", "2015-
|
|
367
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "62"], ["created_at", "2015-07-16 15:51:01.483127"], ["updated_at", "2015-07-16 15:51:01.483127"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
368
368
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
369
369
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
370
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "63"], ["created_at", "2015-
|
|
370
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "63"], ["created_at", "2015-07-16 15:51:01.485162"], ["updated_at", "2015-07-16 15:51:01.485162"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
371
371
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
372
372
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
373
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015-
|
|
373
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015-07-16 15:51:01.487178"], ["updated_at", "2015-07-16 15:51:01.487178"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
374
374
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
375
375
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
376
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "65"], ["created_at", "2015-
|
|
376
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "65"], ["created_at", "2015-07-16 15:51:01.489278"], ["updated_at", "2015-07-16 15:51:01.489278"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
377
377
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
378
378
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
379
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "66"], ["created_at", "2015-
|
|
379
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "66"], ["created_at", "2015-07-16 15:51:01.491342"], ["updated_at", "2015-07-16 15:51:01.491342"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
380
380
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
381
381
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
382
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "67"], ["created_at", "2015-
|
|
382
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "67"], ["created_at", "2015-07-16 15:51:01.493486"], ["updated_at", "2015-07-16 15:51:01.493486"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
383
383
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
384
384
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
385
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "68"], ["created_at", "2015-
|
|
385
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "68"], ["created_at", "2015-07-16 15:51:01.495769"], ["updated_at", "2015-07-16 15:51:01.495769"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
386
386
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
387
387
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
388
|
-
[1m[35mSQL (0.
|
|
388
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "69"], ["created_at", "2015-07-16 15:51:01.497949"], ["updated_at", "2015-07-16 15:51:01.497949"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
389
389
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
390
390
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
391
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "70"], ["created_at", "2015-
|
|
391
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "70"], ["created_at", "2015-07-16 15:51:01.499977"], ["updated_at", "2015-07-16 15:51:01.499977"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
392
392
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
393
393
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
394
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "71"], ["created_at", "2015-
|
|
394
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "71"], ["created_at", "2015-07-16 15:51:01.502162"], ["updated_at", "2015-07-16 15:51:01.502162"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
395
395
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
396
396
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
397
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2015-
|
|
397
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2015-07-16 15:51:01.504399"], ["updated_at", "2015-07-16 15:51:01.504399"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
398
398
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
399
399
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
400
|
-
Parameters: {"filter"=>"
|
|
401
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET
|
|
402
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
|
403
|
-
Completed 200 OK in
|
|
400
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
|
401
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
|
402
|
+
[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/%')
|
|
403
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
404
404
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
405
405
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
406
406
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
407
|
-
|
|
408
|
-
PushType::WysiwygMediaController::
|
|
409
|
-
|
|
410
|
-
[1m[35m (0.
|
|
411
|
-
[1m[36m (0.
|
|
407
|
+
----------------------------------------------------------------------------------------
|
|
408
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0001_anonymous
|
|
409
|
+
----------------------------------------------------------------------------------------
|
|
410
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
411
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
412
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
413
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
414
|
+
Parameters: {"asset"=>{}}
|
|
415
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
416
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
|
417
|
+
Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
418
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
419
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
420
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
421
|
+
----------------------------------------------------------------------------------------
|
|
422
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
|
|
423
|
+
----------------------------------------------------------------------------------------
|
|
424
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
425
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
426
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
427
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
428
|
+
Parameters: {"asset"=>{}}
|
|
429
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
430
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
|
431
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
|
432
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
433
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
434
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
435
|
+
----------------------------------------------------------------------------------------
|
|
436
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
|
|
437
|
+
----------------------------------------------------------------------------------------
|
|
412
438
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
439
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
440
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
441
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
442
|
+
Parameters: {"asset"=>{}}
|
|
413
443
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
414
|
-
[1m[
|
|
415
|
-
|
|
444
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
|
445
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
446
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
447
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
448
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
449
|
+
--------------------------------------------------------------------------------
|
|
450
|
+
PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
|
|
451
|
+
--------------------------------------------------------------------------------
|
|
452
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
453
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
454
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
455
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
456
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
457
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fdc24bcee10 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150716-3901-jk70ef>>}}
|
|
416
458
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
417
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
459
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "73"], ["created_at", "2015-07-16 15:51:01.534627"], ["updated_at", "2015-07-16 15:51:01.534627"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
418
460
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
419
|
-
|
|
420
|
-
[1m[
|
|
421
|
-
[1m[
|
|
461
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
462
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
463
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
464
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
465
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
466
|
+
---------------------------------------------------------------------------------------
|
|
467
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0002_anonymous
|
|
468
|
+
---------------------------------------------------------------------------------------
|
|
469
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
470
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
471
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
422
472
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
423
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
473
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "74"], ["created_at", "2015-07-16 15:51:01.541810"], ["updated_at", "2015-07-16 15:51:01.541810"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
424
474
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
425
475
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
426
|
-
[1m[35mSQL (0.
|
|
476
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "75"], ["created_at", "2015-07-16 15:51:01.544022"], ["updated_at", "2015-07-16 15:51:01.544022"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
427
477
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
428
478
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
429
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
479
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "76"], ["created_at", "2015-07-16 15:51:01.546334"], ["updated_at", "2015-07-16 15:51:01.546334"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
430
480
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
431
481
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
432
|
-
[1m[35mSQL (0.
|
|
482
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "77"], ["created_at", "2015-07-16 15:51:01.548247"], ["updated_at", "2015-07-16 15:51:01.548247"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
433
483
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
434
484
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
435
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
485
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "78"], ["created_at", "2015-07-16 15:51:01.550373"], ["updated_at", "2015-07-16 15:51:01.550373"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
436
486
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
437
487
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
438
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
488
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "79"], ["created_at", "2015-07-16 15:51:01.552449"], ["updated_at", "2015-07-16 15:51:01.552449"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
439
489
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
440
490
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
441
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
491
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "80"], ["created_at", "2015-07-16 15:51:01.554474"], ["updated_at", "2015-07-16 15:51:01.554474"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
442
492
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
443
493
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
444
|
-
[1m[35mSQL (0.
|
|
494
|
+
[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", "81"], ["created_at", "2015-07-16 15:51:01.556704"], ["updated_at", "2015-07-16 15:51:01.556704"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
445
495
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
446
496
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
447
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
497
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "82"], ["created_at", "2015-07-16 15:51:01.559155"], ["updated_at", "2015-07-16 15:51:01.559155"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
448
498
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
449
499
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
450
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
500
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "83"], ["created_at", "2015-07-16 15:51:01.561377"], ["updated_at", "2015-07-16 15:51:01.561377"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
451
501
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
452
502
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
453
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
503
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "84"], ["created_at", "2015-07-16 15:51:01.563585"], ["updated_at", "2015-07-16 15:51:01.563585"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
454
504
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
455
505
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
456
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
506
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "85"], ["created_at", "2015-07-16 15:51:01.565603"], ["updated_at", "2015-07-16 15:51:01.565603"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
457
507
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
458
508
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
459
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
509
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "86"], ["created_at", "2015-07-16 15:51:01.567726"], ["updated_at", "2015-07-16 15:51:01.567726"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
460
510
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
461
511
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
462
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
512
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "87"], ["created_at", "2015-07-16 15:51:01.569781"], ["updated_at", "2015-07-16 15:51:01.569781"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
463
513
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
464
514
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
465
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
515
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "88"], ["created_at", "2015-07-16 15:51:01.571802"], ["updated_at", "2015-07-16 15:51:01.571802"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
466
516
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
467
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
468
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
|
469
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
|
470
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
471
|
-
Completed 200 OK in 77ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
|
472
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
473
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
474
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
475
|
-
----------------------------------------------------------------------------------
|
|
476
|
-
PushType::WysiwygMediaController::GET #index::with pagination: test_0002_anonymous
|
|
477
|
-
----------------------------------------------------------------------------------
|
|
478
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
479
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
480
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
481
517
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
482
|
-
[1m[35mSQL (0.
|
|
518
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "89"], ["created_at", "2015-07-16 15:51:01.573725"], ["updated_at", "2015-07-16 15:51:01.573725"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
483
519
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
484
520
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
485
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
521
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "90"], ["created_at", "2015-07-16 15:51:01.575887"], ["updated_at", "2015-07-16 15:51:01.575887"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
486
522
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
487
523
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
488
|
-
[1m[35mSQL (0.
|
|
524
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "91"], ["created_at", "2015-07-16 15:51:01.578062"], ["updated_at", "2015-07-16 15:51:01.578062"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
489
525
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
526
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
527
|
+
Parameters: {"filter"=>"image"}
|
|
528
|
+
[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
|
|
529
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
|
530
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
|
531
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
532
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
533
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
534
|
+
---------------------------------------------------------------------------------------
|
|
535
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0001_anonymous
|
|
536
|
+
---------------------------------------------------------------------------------------
|
|
537
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
538
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
539
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
490
540
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
491
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
541
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "92"], ["created_at", "2015-07-16 15:51:01.586177"], ["updated_at", "2015-07-16 15:51:01.586177"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
492
542
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
493
543
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
494
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
544
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "93"], ["created_at", "2015-07-16 15:51:01.588345"], ["updated_at", "2015-07-16 15:51:01.588345"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
495
545
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
496
546
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
497
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
547
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "94"], ["created_at", "2015-07-16 15:51:01.590316"], ["updated_at", "2015-07-16 15:51:01.590316"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
498
548
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
499
549
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
500
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
550
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "95"], ["created_at", "2015-07-16 15:51:01.592503"], ["updated_at", "2015-07-16 15:51:01.592503"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
501
551
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
502
552
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
503
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
553
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "96"], ["created_at", "2015-07-16 15:51:01.594571"], ["updated_at", "2015-07-16 15:51:01.594571"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
504
554
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
505
555
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
506
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
556
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "97"], ["created_at", "2015-07-16 15:51:01.596708"], ["updated_at", "2015-07-16 15:51:01.596708"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
507
557
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
508
558
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
509
|
-
[1m[36mSQL (0.
|
|
559
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "98"], ["created_at", "2015-07-16 15:51:01.598852"], ["updated_at", "2015-07-16 15:51:01.598852"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
510
560
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
511
561
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
512
|
-
[1m[35mSQL (0.
|
|
562
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "99"], ["created_at", "2015-07-16 15:51:01.600925"], ["updated_at", "2015-07-16 15:51:01.600925"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
513
563
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
514
564
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
515
|
-
[1m[36mSQL (0.
|
|
565
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "100"], ["created_at", "2015-07-16 15:51:01.602986"], ["updated_at", "2015-07-16 15:51:01.602986"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
516
566
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
517
567
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
518
|
-
[1m[35mSQL (0.
|
|
568
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "101"], ["created_at", "2015-07-16 15:51:01.605030"], ["updated_at", "2015-07-16 15:51:01.605030"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
519
569
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
520
570
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
521
|
-
[1m[36mSQL (0.
|
|
571
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "102"], ["created_at", "2015-07-16 15:51:01.607104"], ["updated_at", "2015-07-16 15:51:01.607104"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
522
572
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
523
573
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
524
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
574
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "103"], ["created_at", "2015-07-16 15:51:01.609252"], ["updated_at", "2015-07-16 15:51:01.609252"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
525
575
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
526
576
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
527
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
577
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "104"], ["created_at", "2015-07-16 15:51:01.611293"], ["updated_at", "2015-07-16 15:51:01.611293"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
528
578
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
529
579
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
530
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
580
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "105"], ["created_at", "2015-07-16 15:51:01.613417"], ["updated_at", "2015-07-16 15:51:01.613417"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
531
581
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
532
582
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
533
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
583
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "106"], ["created_at", "2015-07-16 15:51:01.615427"], ["updated_at", "2015-07-16 15:51:01.615427"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
534
584
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
535
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
536
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
|
537
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
|
538
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
539
|
-
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
|
540
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
541
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
542
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
543
|
-
----------------------------------------------------------------------------------
|
|
544
|
-
PushType::WysiwygMediaController::GET #index::with pagination: test_0003_anonymous
|
|
545
|
-
----------------------------------------------------------------------------------
|
|
546
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
547
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
548
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
549
585
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
550
|
-
[1m[35mSQL (0.
|
|
586
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "107"], ["created_at", "2015-07-16 15:51:01.617401"], ["updated_at", "2015-07-16 15:51:01.617401"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
551
587
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
552
588
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
553
|
-
[1m[36mSQL (0.
|
|
589
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "108"], ["created_at", "2015-07-16 15:51:01.619747"], ["updated_at", "2015-07-16 15:51:01.619747"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
554
590
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
555
591
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
556
|
-
[1m[35mSQL (0.
|
|
592
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "109"], ["created_at", "2015-07-16 15:51:01.622004"], ["updated_at", "2015-07-16 15:51:01.622004"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
557
593
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
594
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
595
|
+
Parameters: {"filter"=>"image"}
|
|
596
|
+
[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
|
|
597
|
+
[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
|
|
598
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
|
599
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
600
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
601
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
602
|
+
---------------------------------------------------------------------------------------
|
|
603
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0003_anonymous
|
|
604
|
+
---------------------------------------------------------------------------------------
|
|
605
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
606
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
607
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
558
608
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
559
|
-
[1m[36mSQL (0.
|
|
609
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "110"], ["created_at", "2015-07-16 15:51:01.630234"], ["updated_at", "2015-07-16 15:51:01.630234"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
560
610
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
561
611
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
562
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
612
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "111"], ["created_at", "2015-07-16 15:51:01.632513"], ["updated_at", "2015-07-16 15:51:01.632513"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
563
613
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
564
614
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
565
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
615
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "112"], ["created_at", "2015-07-16 15:51:01.634524"], ["updated_at", "2015-07-16 15:51:01.634524"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
566
616
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
567
617
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
568
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
618
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "113"], ["created_at", "2015-07-16 15:51:01.636607"], ["updated_at", "2015-07-16 15:51:01.636607"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
569
619
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
570
620
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
571
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
621
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "114"], ["created_at", "2015-07-16 15:51:01.638559"], ["updated_at", "2015-07-16 15:51:01.638559"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
572
622
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
573
623
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
574
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
624
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "115"], ["created_at", "2015-07-16 15:51:01.640870"], ["updated_at", "2015-07-16 15:51:01.640870"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
575
625
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
576
626
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
577
|
-
[1m[36mSQL (0.
|
|
627
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "116"], ["created_at", "2015-07-16 15:51:01.642919"], ["updated_at", "2015-07-16 15:51:01.642919"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
578
628
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
579
629
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
580
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
630
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "117"], ["created_at", "2015-07-16 15:51:01.645300"], ["updated_at", "2015-07-16 15:51:01.645300"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
581
631
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
582
632
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
583
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
633
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "118"], ["created_at", "2015-07-16 15:51:01.647475"], ["updated_at", "2015-07-16 15:51:01.647475"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
584
634
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
585
635
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
586
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
636
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "119"], ["created_at", "2015-07-16 15:51:01.649497"], ["updated_at", "2015-07-16 15:51:01.649497"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
587
637
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
588
638
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
589
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
639
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "120"], ["created_at", "2015-07-16 15:51:01.687303"], ["updated_at", "2015-07-16 15:51:01.687303"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
590
640
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
591
641
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
592
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
642
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "121"], ["created_at", "2015-07-16 15:51:01.689592"], ["updated_at", "2015-07-16 15:51:01.689592"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
593
643
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
594
644
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
595
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
645
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "122"], ["created_at", "2015-07-16 15:51:01.692126"], ["updated_at", "2015-07-16 15:51:01.692126"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
596
646
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
597
647
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
598
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
648
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "123"], ["created_at", "2015-07-16 15:51:01.694540"], ["updated_at", "2015-07-16 15:51:01.694540"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
599
649
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
600
650
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
601
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
651
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "124"], ["created_at", "2015-07-16 15:51:01.697125"], ["updated_at", "2015-07-16 15:51:01.697125"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
602
652
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
603
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
604
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
|
605
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
|
606
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
607
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
608
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
609
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
610
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
611
|
-
----------------------------------------------------------------------------------
|
|
612
|
-
PushType::WysiwygMediaController::GET #index::with pagination: test_0001_anonymous
|
|
613
|
-
----------------------------------------------------------------------------------
|
|
614
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
615
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
616
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
617
653
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
618
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
654
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "125"], ["created_at", "2015-07-16 15:51:01.699484"], ["updated_at", "2015-07-16 15:51:01.699484"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
619
655
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
620
656
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
621
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
657
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "126"], ["created_at", "2015-07-16 15:51:01.701914"], ["updated_at", "2015-07-16 15:51:01.701914"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
622
658
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
623
659
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
624
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
660
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "127"], ["created_at", "2015-07-16 15:51:01.704163"], ["updated_at", "2015-07-16 15:51:01.704163"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
625
661
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
662
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
663
|
+
Parameters: {"filter"=>"image"}
|
|
664
|
+
[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
|
|
665
|
+
[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
|
|
666
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
|
667
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
668
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
669
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
670
|
+
---------------------------------------------------------------------------------------
|
|
671
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0004_anonymous
|
|
672
|
+
---------------------------------------------------------------------------------------
|
|
673
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
674
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
675
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
626
676
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
627
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
677
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "128"], ["created_at", "2015-07-16 15:51:01.713447"], ["updated_at", "2015-07-16 15:51:01.713447"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
628
678
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
629
679
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
630
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
680
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "129"], ["created_at", "2015-07-16 15:51:01.715834"], ["updated_at", "2015-07-16 15:51:01.715834"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
631
681
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
632
682
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
633
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
683
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "130"], ["created_at", "2015-07-16 15:51:01.718096"], ["updated_at", "2015-07-16 15:51:01.718096"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
634
684
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
635
685
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
636
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
686
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "131"], ["created_at", "2015-07-16 15:51:01.720569"], ["updated_at", "2015-07-16 15:51:01.720569"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
637
687
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
638
688
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
639
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
689
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "132"], ["created_at", "2015-07-16 15:51:01.722745"], ["updated_at", "2015-07-16 15:51:01.722745"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
640
690
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
641
691
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
642
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
692
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "133"], ["created_at", "2015-07-16 15:51:01.725381"], ["updated_at", "2015-07-16 15:51:01.725381"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
643
693
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
644
694
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
645
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
695
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "134"], ["created_at", "2015-07-16 15:51:01.727996"], ["updated_at", "2015-07-16 15:51:01.727996"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
646
696
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
647
697
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
648
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
698
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "135"], ["created_at", "2015-07-16 15:51:01.730439"], ["updated_at", "2015-07-16 15:51:01.730439"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
649
699
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
650
700
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
651
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
701
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "136"], ["created_at", "2015-07-16 15:51:01.732864"], ["updated_at", "2015-07-16 15:51:01.732864"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
652
702
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
653
703
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
654
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
704
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "137"], ["created_at", "2015-07-16 15:51:01.735087"], ["updated_at", "2015-07-16 15:51:01.735087"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
655
705
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
656
706
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
657
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
707
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "138"], ["created_at", "2015-07-16 15:51:01.737264"], ["updated_at", "2015-07-16 15:51:01.737264"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
658
708
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
659
709
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
660
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
710
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "139"], ["created_at", "2015-07-16 15:51:01.739420"], ["updated_at", "2015-07-16 15:51:01.739420"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
661
711
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
662
712
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
663
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
713
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "140"], ["created_at", "2015-07-16 15:51:01.741802"], ["updated_at", "2015-07-16 15:51:01.741802"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
664
714
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
665
715
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
666
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
716
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "141"], ["created_at", "2015-07-16 15:51:01.744214"], ["updated_at", "2015-07-16 15:51:01.744214"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
667
717
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
668
718
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
669
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
719
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "142"], ["created_at", "2015-07-16 15:51:01.746683"], ["updated_at", "2015-07-16 15:51:01.746683"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
670
720
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
671
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
672
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
|
673
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
|
674
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
675
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
|
676
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
677
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
678
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
679
|
-
----------------------------------------------------------------------------------------
|
|
680
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
|
|
681
|
-
----------------------------------------------------------------------------------------
|
|
682
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
683
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
684
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
685
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
686
|
-
Parameters: {"asset"=>{}}
|
|
687
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
688
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
|
689
|
-
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
|
690
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
691
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
692
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
693
|
-
----------------------------------------------------------------------------------------
|
|
694
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0001_anonymous
|
|
695
|
-
----------------------------------------------------------------------------------------
|
|
696
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
697
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
698
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
699
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
700
|
-
Parameters: {"asset"=>{}}
|
|
701
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
702
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
|
703
|
-
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
704
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
705
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
706
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
707
|
-
----------------------------------------------------------------------------------------
|
|
708
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
|
|
709
|
-
----------------------------------------------------------------------------------------
|
|
710
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
711
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
712
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
713
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
714
|
-
Parameters: {"asset"=>{}}
|
|
715
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
716
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
|
717
|
-
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
718
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
719
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
720
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
721
|
-
-----------------------------------------------------------------------
|
|
722
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
|
723
|
-
-----------------------------------------------------------------------
|
|
724
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
725
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
726
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
727
721
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
728
|
-
[1m[35mSQL (0.
|
|
722
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "143"], ["created_at", "2015-07-16 15:51:01.748954"], ["updated_at", "2015-07-16 15:51:01.748954"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
729
723
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
730
724
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
731
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
725
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "144"], ["created_at", "2015-07-16 15:51:01.751103"], ["updated_at", "2015-07-16 15:51:01.751103"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
732
726
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
733
727
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
734
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
735
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
736
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
737
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "148"], ["created_at", "2015-06-01 13:28:58.412599"], ["updated_at", "2015-06-01 13:28:58.412599"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
738
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
739
|
-
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
|
740
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
741
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
742
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
743
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
744
|
-
-----------------------------------------------------------------------
|
|
745
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
|
746
|
-
-----------------------------------------------------------------------
|
|
747
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
748
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
749
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
750
|
-
[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", "image.png"], ["file_size", 2643], ["file_uid", "149"], ["created_at", "2015-06-01 13:28:58.418740"], ["updated_at", "2015-06-01 13:28:58.418740"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
728
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "145"], ["created_at", "2015-07-16 15:51:01.753332"], ["updated_at", "2015-07-16 15:51:01.753332"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
752
729
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
730
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
731
|
+
Parameters: {"filter"=>"image"}
|
|
732
|
+
[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
|
|
733
|
+
[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
|
|
734
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
|
735
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
736
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
737
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
738
|
+
--------------------------------------------------------------------------------------
|
|
739
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0004_anonymous
|
|
740
|
+
--------------------------------------------------------------------------------------
|
|
741
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
742
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
743
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
753
744
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
754
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
745
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "146"], ["created_at", "2015-07-16 15:51:01.762949"], ["updated_at", "2015-07-16 15:51:01.762949"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
755
746
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
756
747
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
757
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
748
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "147"], ["created_at", "2015-07-16 15:51:01.765168"], ["updated_at", "2015-07-16 15:51:01.765168"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
758
749
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
759
750
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
760
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
751
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "148"], ["created_at", "2015-07-16 15:51:01.767398"], ["updated_at", "2015-07-16 15:51:01.767398"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
761
752
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
762
|
-
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
|
763
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
764
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
765
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
766
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
767
|
-
-----------------------------------------------------------------------
|
|
768
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
|
|
769
|
-
-----------------------------------------------------------------------
|
|
770
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
771
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
772
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
773
753
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
774
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
754
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "149"], ["created_at", "2015-07-16 15:51:01.769487"], ["updated_at", "2015-07-16 15:51:01.769487"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
775
755
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
776
756
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
777
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
757
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "150"], ["created_at", "2015-07-16 15:51:01.771674"], ["updated_at", "2015-07-16 15:51:01.771674"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
778
758
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
779
759
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
780
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
760
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "151"], ["created_at", "2015-07-16 15:51:01.773739"], ["updated_at", "2015-07-16 15:51:01.773739"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
781
761
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
782
762
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
783
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "152"], ["created_at", "2015-07-16 15:51:01.775854"], ["updated_at", "2015-07-16 15:51:01.775854"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
784
764
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
785
|
-
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
|
786
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
787
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
788
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
789
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
790
|
-
-----------------------------------------------------------------------
|
|
791
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
|
792
|
-
-----------------------------------------------------------------------
|
|
793
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
794
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
795
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
796
765
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
797
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
766
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "153"], ["created_at", "2015-07-16 15:51:01.778223"], ["updated_at", "2015-07-16 15:51:01.778223"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
798
767
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
799
768
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
800
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
769
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "154"], ["created_at", "2015-07-16 15:51:01.780456"], ["updated_at", "2015-07-16 15:51:01.780456"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
801
770
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
802
771
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
803
|
-
[1m[35mSQL (0.
|
|
772
|
+
[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", "155"], ["created_at", "2015-07-16 15:51:01.782646"], ["updated_at", "2015-07-16 15:51:01.782646"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
804
773
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
805
774
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
806
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
775
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "156"], ["created_at", "2015-07-16 15:51:01.784989"], ["updated_at", "2015-07-16 15:51:01.784989"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
807
776
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
808
|
-
[1m[36mPushType::Asset Load (0.2ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
|
809
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
810
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
811
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
812
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
813
|
-
-----------------------------------------------------------------------
|
|
814
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
|
815
|
-
-----------------------------------------------------------------------
|
|
816
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
817
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
818
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
819
777
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
820
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
778
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "157"], ["created_at", "2015-07-16 15:51:01.787058"], ["updated_at", "2015-07-16 15:51:01.787058"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
821
779
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
822
780
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
823
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
781
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "158"], ["created_at", "2015-07-16 15:51:01.789427"], ["updated_at", "2015-07-16 15:51:01.789427"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
824
782
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
825
783
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
826
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
784
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "159"], ["created_at", "2015-07-16 15:51:01.791661"], ["updated_at", "2015-07-16 15:51:01.791661"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
827
785
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
828
786
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
829
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
787
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "160"], ["created_at", "2015-07-16 15:51:01.793853"], ["updated_at", "2015-07-16 15:51:01.793853"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
830
788
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
831
|
-
[1m[
|
|
832
|
-
[1m[
|
|
833
|
-
[1m[36m (0.1ms)[0m [
|
|
834
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
835
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
836
|
-
--------------------------------------------------------------------------------
|
|
837
|
-
PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
|
|
838
|
-
--------------------------------------------------------------------------------
|
|
839
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
840
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
841
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
842
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
843
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
844
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9459842d40 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150601-16002-oq9yua>>}}
|
|
789
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
790
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "161"], ["created_at", "2015-07-16 15:51:01.796384"], ["updated_at", "2015-07-16 15:51:01.796384"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
791
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
845
792
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
846
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
793
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "162"], ["created_at", "2015-07-16 15:51:01.798580"], ["updated_at", "2015-07-16 15:51:01.798580"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
847
794
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
848
|
-
|
|
849
|
-
[1m[
|
|
795
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
796
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "163"], ["created_at", "2015-07-16 15:51:01.800732"], ["updated_at", "2015-07-16 15:51:01.800732"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
797
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
798
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
799
|
+
Parameters: {"filter"=>"file"}
|
|
800
|
+
[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
|
|
801
|
+
[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
|
|
802
|
+
Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 0.6ms)
|
|
850
803
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
851
804
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
852
805
|
[1m[35m (0.1ms)[0m BEGIN
|
|
853
|
-
|
|
854
|
-
PushType::
|
|
855
|
-
|
|
856
|
-
[1m[36m (0.
|
|
806
|
+
--------------------------------------------------------------------------------------
|
|
807
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0002_anonymous
|
|
808
|
+
--------------------------------------------------------------------------------------
|
|
809
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
857
810
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
858
811
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
859
812
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
860
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
813
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "164"], ["created_at", "2015-07-16 15:51:01.817637"], ["updated_at", "2015-07-16 15:51:01.817637"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
861
814
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
862
815
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
863
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
816
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "165"], ["created_at", "2015-07-16 15:51:01.819874"], ["updated_at", "2015-07-16 15:51:01.819874"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
864
817
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
865
818
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
866
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
819
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "166"], ["created_at", "2015-07-16 15:51:01.822258"], ["updated_at", "2015-07-16 15:51:01.822258"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
867
820
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
868
821
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
869
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
870
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
871
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
872
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
873
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
874
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
875
|
-
-----------------------------------------------------------------------
|
|
876
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
|
877
|
-
-----------------------------------------------------------------------
|
|
878
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
879
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
880
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
881
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
882
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "170"], ["created_at", "2015-06-01 13:28:58.491536"], ["updated_at", "2015-06-01 13:28:58.491536"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
822
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "167"], ["created_at", "2015-07-16 15:51:01.824471"], ["updated_at", "2015-07-16 15:51:01.824471"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
883
823
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
884
824
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
885
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
825
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "168"], ["created_at", "2015-07-16 15:51:01.826761"], ["updated_at", "2015-07-16 15:51:01.826761"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
886
826
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
887
827
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
888
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
828
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "169"], ["created_at", "2015-07-16 15:51:01.829078"], ["updated_at", "2015-07-16 15:51:01.829078"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
889
829
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
890
830
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
891
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
831
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "170"], ["created_at", "2015-07-16 15:51:01.831413"], ["updated_at", "2015-07-16 15:51:01.831413"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
892
832
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
893
|
-
[1m[36m (0.
|
|
894
|
-
[1m[
|
|
895
|
-
[1m[36m (0.1ms)[0m [
|
|
896
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
897
|
-
-----------------------------------------------------------------------
|
|
898
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
|
|
899
|
-
-----------------------------------------------------------------------
|
|
900
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
901
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
902
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
833
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
834
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "171"], ["created_at", "2015-07-16 15:51:01.833749"], ["updated_at", "2015-07-16 15:51:01.833749"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
835
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
903
836
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
904
|
-
[1m[36mSQL (0.
|
|
837
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "172"], ["created_at", "2015-07-16 15:51:01.835962"], ["updated_at", "2015-07-16 15:51:01.835962"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
905
838
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
906
839
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
907
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
840
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "173"], ["created_at", "2015-07-16 15:51:01.838043"], ["updated_at", "2015-07-16 15:51:01.838043"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
908
841
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
909
842
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
910
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
843
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "174"], ["created_at", "2015-07-16 15:51:01.840149"], ["updated_at", "2015-07-16 15:51:01.840149"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
911
844
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
912
845
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
913
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
846
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "175"], ["created_at", "2015-07-16 15:51:01.842586"], ["updated_at", "2015-07-16 15:51:01.842586"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
914
847
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
915
|
-
[1m[35m (0.
|
|
916
|
-
[1m[
|
|
917
|
-
[1m[35m (0.1ms)[0m
|
|
918
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
919
|
-
-----------------------------------------------------------------------
|
|
920
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
|
921
|
-
-----------------------------------------------------------------------
|
|
922
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
923
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
924
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
848
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
849
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "176"], ["created_at", "2015-07-16 15:51:01.845038"], ["updated_at", "2015-07-16 15:51:01.845038"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
850
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
925
851
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
926
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
852
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "177"], ["created_at", "2015-07-16 15:51:01.847436"], ["updated_at", "2015-07-16 15:51:01.847436"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
927
853
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
928
854
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
929
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
855
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "178"], ["created_at", "2015-07-16 15:51:01.849584"], ["updated_at", "2015-07-16 15:51:01.849584"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
930
856
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
931
857
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
932
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
858
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "179"], ["created_at", "2015-07-16 15:51:01.851860"], ["updated_at", "2015-07-16 15:51:01.851860"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
933
859
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
934
860
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
935
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
861
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "180"], ["created_at", "2015-07-16 15:51:01.854095"], ["updated_at", "2015-07-16 15:51:01.854095"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
936
862
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
937
|
-
[1m[36m (0.
|
|
863
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
864
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "181"], ["created_at", "2015-07-16 15:51:01.856534"], ["updated_at", "2015-07-16 15:51:01.856534"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
865
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
866
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
867
|
+
Parameters: {"filter"=>"file"}
|
|
868
|
+
[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
|
|
869
|
+
[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
|
|
870
|
+
Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 0.5ms)
|
|
938
871
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
939
872
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
940
873
|
[1m[35m (0.1ms)[0m BEGIN
|
|
941
|
-
|
|
942
|
-
PushType::
|
|
943
|
-
|
|
874
|
+
--------------------------------------------------------------------------------------
|
|
875
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0003_anonymous
|
|
876
|
+
--------------------------------------------------------------------------------------
|
|
944
877
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
945
|
-
[1m[35m (0.
|
|
878
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
946
879
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
947
880
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
948
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "182"], ["created_at", "2015-
|
|
881
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "182"], ["created_at", "2015-07-16 15:51:01.873978"], ["updated_at", "2015-07-16 15:51:01.873978"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
949
882
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
950
883
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
951
|
-
[1m[35mSQL (0.
|
|
884
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "183"], ["created_at", "2015-07-16 15:51:01.876446"], ["updated_at", "2015-07-16 15:51:01.876446"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
952
885
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
953
886
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
954
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "184"], ["created_at", "2015-
|
|
887
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "184"], ["created_at", "2015-07-16 15:51:01.878795"], ["updated_at", "2015-07-16 15:51:01.878795"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
955
888
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
956
889
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
957
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "185"], ["created_at", "2015-
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "185"], ["created_at", "2015-07-16 15:51:01.880943"], ["updated_at", "2015-07-16 15:51:01.880943"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
958
891
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
959
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
960
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
961
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
962
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
963
|
-
-------------------------------------------------------------------------------------
|
|
964
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
|
|
965
|
-
-------------------------------------------------------------------------------------
|
|
966
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
967
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
968
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
969
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
970
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9451fa2160 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150601-16002-xbh0xp>>}}
|
|
971
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
972
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "186"], ["created_at", "2015-06-01 13:28:58.540771"], ["updated_at", "2015-06-01 13:28:58.540771"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
973
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
974
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
975
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
976
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
977
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
978
|
-
-------------------------------------------------------------------------------------
|
|
979
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
|
|
980
|
-
-------------------------------------------------------------------------------------
|
|
981
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
982
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
983
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
984
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
985
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f94515b5ee0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150601-16002-1kiusaf>>}}
|
|
986
892
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "186"], ["created_at", "2015-07-16 15:51:01.883849"], ["updated_at", "2015-07-16 15:51:01.883849"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
988
894
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
989
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
990
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
991
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
992
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
993
|
-
-------------------------------------------------------------------------------------
|
|
994
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
|
|
995
|
-
-------------------------------------------------------------------------------------
|
|
996
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
997
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
998
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
999
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1000
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9451f188e8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150601-16002-k26hy3>>}}
|
|
1001
895
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1002
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "187"], ["created_at", "2015-07-16 15:51:01.886427"], ["updated_at", "2015-07-16 15:51:01.886427"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1003
897
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1004
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
1005
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1006
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1007
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1008
|
-
----------------------------------------------------------------------
|
|
1009
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
|
|
1010
|
-
----------------------------------------------------------------------
|
|
1011
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1012
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1013
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1014
898
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1015
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "188"], ["created_at", "2015-07-16 15:51:01.888718"], ["updated_at", "2015-07-16 15:51:01.888718"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1016
900
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1017
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1018
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1019
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1020
|
-
----------------------------------------------------------------------
|
|
1021
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
|
1022
|
-
----------------------------------------------------------------------
|
|
1023
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1024
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1025
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1026
901
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1027
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
902
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "189"], ["created_at", "2015-07-16 15:51:01.890922"], ["updated_at", "2015-07-16 15:51:01.890922"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1028
903
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1029
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1030
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1031
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1032
|
-
----------------------------------------------------------------------
|
|
1033
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
|
1034
|
-
----------------------------------------------------------------------
|
|
1035
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1036
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1037
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1038
904
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1039
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
905
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "190"], ["created_at", "2015-07-16 15:51:01.893288"], ["updated_at", "2015-07-16 15:51:01.893288"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1040
906
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1041
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1042
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1043
|
-
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
1044
|
-
----------------------------------------------------------------------
|
|
1045
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
|
1046
|
-
----------------------------------------------------------------------
|
|
1047
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1048
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1049
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1050
907
|
[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", "
|
|
908
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "191"], ["created_at", "2015-07-16 15:51:01.896534"], ["updated_at", "2015-07-16 15:51:01.896534"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1052
909
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1053
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1054
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1055
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1056
|
-
----------------------------------------------------------------------
|
|
1057
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
|
|
1058
|
-
----------------------------------------------------------------------
|
|
1059
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1060
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1061
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1062
910
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1063
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
911
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "192"], ["created_at", "2015-07-16 15:51:01.898887"], ["updated_at", "2015-07-16 15:51:01.898887"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1064
912
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1065
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1066
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1067
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1068
|
-
----------------------------------------------------------------------
|
|
1069
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
|
|
1070
|
-
----------------------------------------------------------------------
|
|
1071
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1072
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1073
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1074
913
|
[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", "
|
|
914
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "193"], ["created_at", "2015-07-16 15:51:01.901187"], ["updated_at", "2015-07-16 15:51:01.901187"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1076
915
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1077
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1078
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1079
|
-
[1m[35m (0.0ms)[0m BEGIN
|
|
1080
|
-
----------------------------------------------------------------------
|
|
1081
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
|
|
1082
|
-
----------------------------------------------------------------------
|
|
1083
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1084
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1085
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1086
916
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1087
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
917
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "194"], ["created_at", "2015-07-16 15:51:01.903438"], ["updated_at", "2015-07-16 15:51:01.903438"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1088
918
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1089
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1090
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1091
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1092
|
-
--------------------------------------------------------------------------------------
|
|
1093
|
-
PushType::WysiwygMediaController::GET #index::filtering for files: test_0001_anonymous
|
|
1094
|
-
--------------------------------------------------------------------------------------
|
|
1095
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1096
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1097
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1098
919
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1099
|
-
[1m[35mSQL (0.
|
|
920
|
+
[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", "195"], ["created_at", "2015-07-16 15:51:01.906140"], ["updated_at", "2015-07-16 15:51:01.906140"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1100
921
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1101
922
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1102
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
923
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "196"], ["created_at", "2015-07-16 15:51:01.908626"], ["updated_at", "2015-07-16 15:51:01.908626"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1103
924
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1104
925
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1105
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
926
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "197"], ["created_at", "2015-07-16 15:51:01.910954"], ["updated_at", "2015-07-16 15:51:01.910954"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1106
927
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1107
928
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1108
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
929
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "198"], ["created_at", "2015-07-16 15:51:01.913732"], ["updated_at", "2015-07-16 15:51:01.913732"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1109
930
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1110
931
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1111
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
932
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "199"], ["created_at", "2015-07-16 15:51:01.916062"], ["updated_at", "2015-07-16 15:51:01.916062"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1112
933
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
934
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
935
|
+
Parameters: {"filter"=>"file"}
|
|
936
|
+
[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
|
|
937
|
+
[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
|
|
938
|
+
Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 0.6ms)
|
|
939
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
940
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
941
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
942
|
+
--------------------------------------------------------------------------------------
|
|
943
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0001_anonymous
|
|
944
|
+
--------------------------------------------------------------------------------------
|
|
945
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
946
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
947
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1113
948
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1114
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
949
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "200"], ["created_at", "2015-07-16 15:51:01.934678"], ["updated_at", "2015-07-16 15:51:01.934678"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1115
950
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1116
951
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1117
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
952
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "201"], ["created_at", "2015-07-16 15:51:01.937651"], ["updated_at", "2015-07-16 15:51:01.937651"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1118
953
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1119
954
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1120
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
955
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "202"], ["created_at", "2015-07-16 15:51:01.940264"], ["updated_at", "2015-07-16 15:51:01.940264"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1121
956
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1122
957
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1123
|
-
[1m[35mSQL (0.
|
|
958
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "203"], ["created_at", "2015-07-16 15:51:01.942972"], ["updated_at", "2015-07-16 15:51:01.942972"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1124
959
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1125
960
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1126
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
961
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "204"], ["created_at", "2015-07-16 15:51:01.946746"], ["updated_at", "2015-07-16 15:51:01.946746"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1127
962
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1128
963
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1129
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
964
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "205"], ["created_at", "2015-07-16 15:51:01.949468"], ["updated_at", "2015-07-16 15:51:01.949468"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1130
965
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1131
966
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1132
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
967
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "206"], ["created_at", "2015-07-16 15:51:01.951944"], ["updated_at", "2015-07-16 15:51:01.951944"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1133
968
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1134
969
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1135
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
970
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "207"], ["created_at", "2015-07-16 15:51:01.954187"], ["updated_at", "2015-07-16 15:51:01.954187"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1136
971
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1137
972
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1138
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
973
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "208"], ["created_at", "2015-07-16 15:51:01.956695"], ["updated_at", "2015-07-16 15:51:01.956695"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1139
974
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1140
975
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1141
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
976
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "209"], ["created_at", "2015-07-16 15:51:01.959187"], ["updated_at", "2015-07-16 15:51:01.959187"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1142
977
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1143
978
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1144
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
979
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "210"], ["created_at", "2015-07-16 15:51:01.961749"], ["updated_at", "2015-07-16 15:51:01.961749"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1145
980
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1146
981
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1147
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
982
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "211"], ["created_at", "2015-07-16 15:51:01.964216"], ["updated_at", "2015-07-16 15:51:01.964216"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1148
983
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1149
984
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1150
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
985
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "212"], ["created_at", "2015-07-16 15:51:01.966696"], ["updated_at", "2015-07-16 15:51:01.966696"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1151
986
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1152
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1153
|
-
Parameters: {"filter"=>"file"}
|
|
1154
|
-
[1m[36mPushType::Asset Load (0.4ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
|
1155
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
1156
|
-
Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
|
1157
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1158
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
|
1159
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1160
|
-
--------------------------------------------------------------------------------------
|
|
1161
|
-
PushType::WysiwygMediaController::GET #index::filtering for files: test_0002_anonymous
|
|
1162
|
-
--------------------------------------------------------------------------------------
|
|
1163
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1164
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1165
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1166
987
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1167
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
988
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "213"], ["created_at", "2015-07-16 15:51:01.969475"], ["updated_at", "2015-07-16 15:51:01.969475"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1168
989
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1169
990
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1170
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
991
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "214"], ["created_at", "2015-07-16 15:51:01.971938"], ["updated_at", "2015-07-16 15:51:01.971938"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1171
992
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1172
993
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1173
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
994
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "215"], ["created_at", "2015-07-16 15:51:01.974296"], ["updated_at", "2015-07-16 15:51:01.974296"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1174
995
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1175
996
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1176
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
997
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "216"], ["created_at", "2015-07-16 15:51:01.976804"], ["updated_at", "2015-07-16 15:51:01.976804"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1177
998
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1178
999
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1179
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1000
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "217"], ["created_at", "2015-07-16 15:51:01.978848"], ["updated_at", "2015-07-16 15:51:01.978848"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1180
1001
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1002
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1003
|
+
Parameters: {"filter"=>"file"}
|
|
1004
|
+
[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
|
|
1005
|
+
[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
|
|
1006
|
+
Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
|
1007
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1008
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1009
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1010
|
+
-----------------------------------------------------------------------
|
|
1011
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0005_anonymous
|
|
1012
|
+
-----------------------------------------------------------------------
|
|
1013
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1014
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1015
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1181
1016
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1182
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1017
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "218"], ["created_at", "2015-07-16 15:51:01.994566"], ["updated_at", "2015-07-16 15:51:01.994566"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1183
1018
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1184
1019
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1185
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1020
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "219"], ["created_at", "2015-07-16 15:51:01.996728"], ["updated_at", "2015-07-16 15:51:01.996728"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1186
1021
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1187
1022
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1188
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1023
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "220"], ["created_at", "2015-07-16 15:51:01.998720"], ["updated_at", "2015-07-16 15:51:01.998720"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1189
1024
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1190
1025
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1191
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1026
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "221"], ["created_at", "2015-07-16 15:51:02.000748"], ["updated_at", "2015-07-16 15:51:02.000748"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1192
1027
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1193
|
-
[1m[35m (0.
|
|
1194
|
-
[1m[
|
|
1195
|
-
[1m[35m (0.1ms)[0m
|
|
1028
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
1029
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1030
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1031
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
1032
|
+
-----------------------------------------------------------------------
|
|
1033
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0002_anonymous
|
|
1034
|
+
-----------------------------------------------------------------------
|
|
1035
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1036
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1037
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1196
1038
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1197
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1039
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "222"], ["created_at", "2015-07-16 15:51:02.013332"], ["updated_at", "2015-07-16 15:51:02.013332"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1198
1040
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1199
1041
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1200
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1042
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "223"], ["created_at", "2015-07-16 15:51:02.015840"], ["updated_at", "2015-07-16 15:51:02.015840"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1201
1043
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1202
1044
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1203
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
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", "224"], ["created_at", "2015-07-16 15:51:02.018126"], ["updated_at", "2015-07-16 15:51:02.018126"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1204
1046
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1205
1047
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1206
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
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", "225"], ["created_at", "2015-07-16 15:51:02.020186"], ["updated_at", "2015-07-16 15:51:02.020186"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1207
1049
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1208
|
-
[1m[36m (0.
|
|
1209
|
-
[1m[
|
|
1210
|
-
[1m[36m (0.1ms)[0m [
|
|
1050
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1051
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1052
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1053
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1054
|
+
-----------------------------------------------------------------------
|
|
1055
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
|
1056
|
+
-----------------------------------------------------------------------
|
|
1057
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1058
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1059
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1211
1060
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1212
|
-
[1m[36mSQL (0.
|
|
1061
|
+
[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", "226"], ["created_at", "2015-07-16 15:51:02.026184"], ["updated_at", "2015-07-16 15:51:02.026184"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1213
1062
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1214
1063
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1215
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1064
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "227"], ["created_at", "2015-07-16 15:51:02.029017"], ["updated_at", "2015-07-16 15:51:02.029017"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1216
1065
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1217
1066
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1218
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1067
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "228"], ["created_at", "2015-07-16 15:51:02.031375"], ["updated_at", "2015-07-16 15:51:02.031375"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1219
1068
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
[1m[
|
|
1223
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
1224
|
-
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
|
1069
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1070
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "229"], ["created_at", "2015-07-16 15:51:02.033748"], ["updated_at", "2015-07-16 15:51:02.033748"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1071
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1072
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
1225
1073
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1226
1074
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1227
1075
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1228
|
-
|
|
1229
|
-
PushType::
|
|
1230
|
-
|
|
1076
|
+
-----------------------------------------------------------------------
|
|
1077
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
|
|
1078
|
+
-----------------------------------------------------------------------
|
|
1231
1079
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1232
1080
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1233
1081
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1234
1082
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1235
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1083
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "230"], ["created_at", "2015-07-16 15:51:02.038229"], ["updated_at", "2015-07-16 15:51:02.038229"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1236
1084
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1237
1085
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1238
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1086
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "231"], ["created_at", "2015-07-16 15:51:02.040503"], ["updated_at", "2015-07-16 15:51:02.040503"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1239
1087
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1240
1088
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1241
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1089
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "232"], ["created_at", "2015-07-16 15:51:02.042883"], ["updated_at", "2015-07-16 15:51:02.042883"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1242
1090
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1243
1091
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1244
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1092
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-07-16 15:51:02.045089"], ["updated_at", "2015-07-16 15:51:02.045089"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1093
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1094
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1095
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1096
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1097
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1098
|
+
-----------------------------------------------------------------------
|
|
1099
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
|
1100
|
+
-----------------------------------------------------------------------
|
|
1101
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1102
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1103
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1104
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1105
|
+
[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", "234"], ["created_at", "2015-07-16 15:51:02.049526"], ["updated_at", "2015-07-16 15:51:02.049526"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1245
1106
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1246
1107
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1247
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1108
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "235"], ["created_at", "2015-07-16 15:51:02.051749"], ["updated_at", "2015-07-16 15:51:02.051749"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1248
1109
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1249
1110
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1250
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1111
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "236"], ["created_at", "2015-07-16 15:51:02.053951"], ["updated_at", "2015-07-16 15:51:02.053951"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1251
1112
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1252
1113
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1253
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1114
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "237"], ["created_at", "2015-07-16 15:51:02.056024"], ["updated_at", "2015-07-16 15:51:02.056024"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1115
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1116
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
1117
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1118
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1119
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1120
|
+
-------------------------------------------------------------------------------------
|
|
1121
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
|
|
1122
|
+
-------------------------------------------------------------------------------------
|
|
1123
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1124
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1125
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1126
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1127
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fdc1ac9fbc8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150716-3901-1r1s8sh>>}}
|
|
1128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1129
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "238"], ["created_at", "2015-07-16 15:51:02.063613"], ["updated_at", "2015-07-16 15:51:02.063613"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1254
1130
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1131
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
|
1132
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1133
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1134
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1135
|
+
-------------------------------------------------------------------------------------
|
|
1136
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
|
|
1137
|
+
-------------------------------------------------------------------------------------
|
|
1138
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1139
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1140
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1141
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1142
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fdc24032278 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150716-3901-vc113j>>}}
|
|
1255
1143
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1256
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1144
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "239"], ["created_at", "2015-07-16 15:51:02.069709"], ["updated_at", "2015-07-16 15:51:02.069709"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1257
1145
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1146
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
1147
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1148
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1149
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
1150
|
+
-------------------------------------------------------------------------------------
|
|
1151
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
|
|
1152
|
+
-------------------------------------------------------------------------------------
|
|
1153
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1154
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1155
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1156
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1157
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fdc25860188 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150716-3901-1jw0s10>>}}
|
|
1258
1158
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1259
|
-
[1m[35mSQL (0.
|
|
1159
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "240"], ["created_at", "2015-07-16 15:51:02.076636"], ["updated_at", "2015-07-16 15:51:02.076636"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1260
1160
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1161
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
|
1162
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1163
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1164
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1165
|
+
-----------------------------------------------------------------------
|
|
1166
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
|
|
1167
|
+
-----------------------------------------------------------------------
|
|
1168
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1169
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1170
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1261
1171
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1262
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1263
|
-
[1m[35m (0.
|
|
1172
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "241"], ["created_at", "2015-07-16 15:51:02.081935"], ["updated_at", "2015-07-16 15:51:02.081935"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1173
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1264
1174
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1265
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1175
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "242"], ["created_at", "2015-07-16 15:51:02.084376"], ["updated_at", "2015-07-16 15:51:02.084376"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1266
1176
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1267
1177
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1268
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1178
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "243"], ["created_at", "2015-07-16 15:51:02.086612"], ["updated_at", "2015-07-16 15:51:02.086612"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1269
1179
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1270
1180
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1271
|
-
[1m[35mSQL (0.
|
|
1181
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "244"], ["created_at", "2015-07-16 15:51:02.088812"], ["updated_at", "2015-07-16 15:51:02.088812"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1272
1182
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1183
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
|
1184
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1185
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1186
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1187
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1188
|
+
-----------------------------------------------------------------------
|
|
1189
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
|
1190
|
+
-----------------------------------------------------------------------
|
|
1191
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1192
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1193
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1273
1194
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1274
|
-
[1m[36mSQL (0.
|
|
1195
|
+
[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", "245"], ["created_at", "2015-07-16 15:51:02.095585"], ["updated_at", "2015-07-16 15:51:02.095585"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1275
1196
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1276
1197
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1277
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1198
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-07-16 15:51:02.098177"], ["updated_at", "2015-07-16 15:51:02.098177"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1278
1199
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1279
1200
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1280
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1201
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-07-16 15:51:02.100398"], ["updated_at", "2015-07-16 15:51:02.100398"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1281
1202
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1282
1203
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1283
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1204
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-07-16 15:51:02.102559"], ["updated_at", "2015-07-16 15:51:02.102559"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1284
1205
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1206
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
|
1207
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1208
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1209
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1210
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1211
|
+
-----------------------------------------------------------------------
|
|
1212
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
|
1213
|
+
-----------------------------------------------------------------------
|
|
1214
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1215
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1216
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1285
1217
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1286
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1218
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "249"], ["created_at", "2015-07-16 15:51:02.108389"], ["updated_at", "2015-07-16 15:51:02.108389"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1287
1219
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1288
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1289
|
-
Parameters: {"filter"=>"file"}
|
|
1290
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
|
1291
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
1292
|
-
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
|
1293
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1294
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1295
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1296
|
-
--------------------------------------------------------------------------------------
|
|
1297
|
-
PushType::WysiwygMediaController::GET #index::filtering for files: test_0003_anonymous
|
|
1298
|
-
--------------------------------------------------------------------------------------
|
|
1299
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1300
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1301
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1302
1220
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1303
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "250"], ["created_at", "2015-
|
|
1221
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-07-16 15:51:02.111059"], ["updated_at", "2015-07-16 15:51:02.111059"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1304
1222
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1305
1223
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1306
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-
|
|
1224
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-07-16 15:51:02.113494"], ["updated_at", "2015-07-16 15:51:02.113494"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1307
1225
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1308
1226
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1309
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "252"], ["created_at", "2015-
|
|
1227
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-07-16 15:51:02.115695"], ["updated_at", "2015-07-16 15:51:02.115695"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1310
1228
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1229
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
|
1230
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1231
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1232
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1233
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1234
|
+
-----------------------------------------------------------------------
|
|
1235
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
|
1236
|
+
-----------------------------------------------------------------------
|
|
1237
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1238
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1239
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1311
1240
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1312
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "253"], ["created_at", "2015-
|
|
1241
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-07-16 15:51:02.121584"], ["updated_at", "2015-07-16 15:51:02.121584"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1313
1242
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1314
1243
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1315
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "254"], ["created_at", "2015-
|
|
1244
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-07-16 15:51:02.123785"], ["updated_at", "2015-07-16 15:51:02.123785"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1316
1245
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1317
1246
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1318
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1247
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-07-16 15:51:02.126412"], ["updated_at", "2015-07-16 15:51:02.126412"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1319
1248
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1320
1249
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1321
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1250
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-07-16 15:51:02.128618"], ["updated_at", "2015-07-16 15:51:02.128618"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1322
1251
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1252
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
|
1253
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1254
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1255
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1256
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1257
|
+
-----------------------------------------------------------------------
|
|
1258
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
|
1259
|
+
-----------------------------------------------------------------------
|
|
1260
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1261
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1262
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1323
1263
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1324
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "257"], ["created_at", "2015-07-16 15:51:02.134907"], ["updated_at", "2015-07-16 15:51:02.134907"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1325
1265
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1326
1266
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1327
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "258"], ["created_at", "2015-07-16 15:51:02.137110"], ["updated_at", "2015-07-16 15:51:02.137110"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1328
1268
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1329
1269
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1330
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "259"], ["created_at", "2015-07-16 15:51:02.139379"], ["updated_at", "2015-07-16 15:51:02.139379"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1331
1271
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1332
1272
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1333
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "260"], ["created_at", "2015-07-16 15:51:02.141791"], ["updated_at", "2015-07-16 15:51:02.141791"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1334
1274
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1275
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
|
1276
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1277
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1278
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1279
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1280
|
+
----------------------------------------------------------------------
|
|
1281
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
|
1282
|
+
----------------------------------------------------------------------
|
|
1283
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1284
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1285
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1335
1286
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1336
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1287
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-07-16 15:51:02.148786"], ["updated_at", "2015-07-16 15:51:02.148786"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1337
1288
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1289
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1290
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1291
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1292
|
+
----------------------------------------------------------------------
|
|
1293
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
|
|
1294
|
+
----------------------------------------------------------------------
|
|
1295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1296
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1297
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1338
1298
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1339
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
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", "262"], ["created_at", "2015-07-16 15:51:02.152505"], ["updated_at", "2015-07-16 15:51:02.152505"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1340
1300
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1341
|
-
[1m[35m (0.1ms)[0m SAVEPOINT
|
|
1342
|
-
[1m[
|
|
1301
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1302
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1303
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1304
|
+
----------------------------------------------------------------------
|
|
1305
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
|
|
1306
|
+
----------------------------------------------------------------------
|
|
1307
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1308
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1309
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1310
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
|
1311
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-07-16 15:51:02.156419"], ["updated_at", "2015-07-16 15:51:02.156419"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1343
1312
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1313
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1314
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1315
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1316
|
+
----------------------------------------------------------------------
|
|
1317
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
|
1318
|
+
----------------------------------------------------------------------
|
|
1319
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1320
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1321
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1344
1322
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1345
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1323
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "264"], ["created_at", "2015-07-16 15:51:02.160600"], ["updated_at", "2015-07-16 15:51:02.160600"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1346
1324
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1325
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1326
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1327
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1328
|
+
----------------------------------------------------------------------
|
|
1329
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
|
1330
|
+
----------------------------------------------------------------------
|
|
1331
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1332
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1333
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1347
1334
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1348
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1335
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-07-16 15:51:02.165076"], ["updated_at", "2015-07-16 15:51:02.165076"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1349
1336
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1337
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1338
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1339
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
1340
|
+
----------------------------------------------------------------------
|
|
1341
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
|
|
1342
|
+
----------------------------------------------------------------------
|
|
1343
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1344
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1345
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1350
1346
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1351
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1347
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "266"], ["created_at", "2015-07-16 15:51:02.169097"], ["updated_at", "2015-07-16 15:51:02.169097"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1352
1348
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1349
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1350
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1351
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1352
|
+
----------------------------------------------------------------------
|
|
1353
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
|
|
1354
|
+
----------------------------------------------------------------------
|
|
1355
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1356
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1357
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1353
1358
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1354
|
-
[1m[36mSQL (0.
|
|
1359
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "267"], ["created_at", "2015-07-16 15:51:02.172688"], ["updated_at", "2015-07-16 15:51:02.172688"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1355
1360
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1356
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1357
|
-
Parameters: {"filter"=>"file"}
|
|
1358
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
|
1359
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
1360
|
-
Completed 200 OK in 12ms (Views: 0.7ms | ActiveRecord: 0.6ms)
|
|
1361
1361
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1362
1362
|
[1m[35m (0.1ms)[0m ROLLBACK
|