push_type_wysiwyg 0.6.0 → 0.7.0.beta.1
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/{20151108150838_create_push_type_users.push_type.rb → 20160108132432_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151108150839_create_push_type_nodes.push_type.rb → 20160108132433_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151108150840_create_push_type_node_hierarchies.push_type.rb → 20160108132434_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151108150841_create_push_type_assets.push_type.rb → 20160108132435_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151108150842_create_push_type_taxonomies.push_type.rb → 20160108132436_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151108150843_create_push_type_taxonomy_hierarchies.push_type.rb → 20160108132437_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151108150844_add_field_store_default_values.push_type.rb → 20160108132438_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +783 -783
- metadata +22 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e8de6fd51574e23834ab43cdf5c38b391bcff34
|
|
4
|
+
data.tar.gz: 7c14545f883d4b9cce3df10ad11a13d19ae0979e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d6530fcbcd32dddcea07c914224015e6acbcc131457da1a301284817f0bedbe49fcb1ee1d5f0b7e2338c5d83150c52b951f855d732194408337c16fb6e173efd
|
|
7
|
+
data.tar.gz: ecf6a23996aec6b473a93415b61a6382e69128df6a1d4f98f8bb666b8b416dee5f7c076dae0de0c58f1ed0da30688fcf49ce7a493ecb8598190d4e2c2ce376be
|
|
@@ -50,6 +50,6 @@ PushType.setup do |config|
|
|
|
50
50
|
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
|
51
51
|
# }
|
|
52
52
|
|
|
53
|
-
# config.dragonfly_secret = '
|
|
53
|
+
# config.dragonfly_secret = '8d6bede1ec580afe518f63ec8880a5f792b6d88ad77408bc2c85c639f3725f6e'
|
|
54
54
|
|
|
55
55
|
end
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
# if you're sharing your code publicly.
|
|
12
12
|
|
|
13
13
|
development:
|
|
14
|
-
secret_key_base:
|
|
14
|
+
secret_key_base: 73c0ae56757d50841ac8d064fa4a89c3c467d025a5f47e584e3921d0d290994a8f7efd5c31414745d8db17865808a4d41a56dfb0fa783f92d18037b4dee8f565
|
|
15
15
|
|
|
16
16
|
test:
|
|
17
|
-
secret_key_base:
|
|
17
|
+
secret_key_base: b21c18f8ffb5e8f6a198bc202d13de3cf68ee211ec3efea401e73609056458b6c5a19b5a11fdf0b6f60673b6af0a70647132cc4f8882f87ff4dfe87568ab4fe3
|
|
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: 20160108132438) 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,56 +1,56 @@
|
|
|
1
|
-
[1m[36m (
|
|
2
|
-
[1m[35m (1.
|
|
1
|
+
[1m[36m (7.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
|
2
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
4
|
-
Migrating to CreatePushTypeUsers (
|
|
4
|
+
Migrating to CreatePushTypeUsers (20160108132432)
|
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
|
6
6
|
[1m[36mSQL (1.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
|
7
|
-
[1m[35m (2.
|
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
7
|
+
[1m[35m (2.6ms)[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", "20160108132432"]]
|
|
9
9
|
[1m[35m (0.7ms)[0m COMMIT
|
|
10
|
-
Migrating to CreatePushTypeNodes (
|
|
10
|
+
Migrating to CreatePushTypeNodes (20160108132433)
|
|
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", "20160108132433"]]
|
|
14
|
+
[1m[35m (0.4ms)[0m COMMIT
|
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20160108132434)
|
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
17
|
-
[1m[35m (0.
|
|
18
|
-
[1m[36m (0.
|
|
17
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
|
18
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
|
19
19
|
[1m[35m (0.5ms)[0m CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
21
|
-
[1m[35m (0.
|
|
22
|
-
Migrating to CreatePushTypeAssets (
|
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160108132434"]]
|
|
21
|
+
[1m[35m (0.5ms)[0m COMMIT
|
|
22
|
+
Migrating to CreatePushTypeAssets (20160108132435)
|
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
24
|
-
[1m[35m (
|
|
25
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
26
|
-
[1m[35m (0.
|
|
27
|
-
Migrating to CreatePushTypeTaxonomies (
|
|
24
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
|
|
25
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160108132435"]]
|
|
26
|
+
[1m[35m (0.5ms)[0m COMMIT
|
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20160108132436)
|
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
29
|
-
[1m[35m (2.
|
|
29
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
|
30
30
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_assets" ADD "tags" character varying[][0m
|
|
31
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
|
32
|
-
[1m[36m (0.
|
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (
|
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160108132436"]]
|
|
32
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20160108132437)
|
|
34
34
|
[1m[35m (0.1ms)[0m BEGIN
|
|
35
|
-
[1m[36m (0.
|
|
36
|
-
[1m[35m (0.
|
|
37
|
-
[1m[36m (0.
|
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
|
35
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) [0m
|
|
36
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
|
37
|
+
[1m[36m (0.7ms)[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", "20160108132437"]]
|
|
39
39
|
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20160108132438)
|
|
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 '{}'
|
|
44
44
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
45
45
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
|
|
46
46
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
|
47
|
-
[1m[35m (0.
|
|
47
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
|
48
48
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
49
|
-
[1m[35m (0.
|
|
50
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
51
|
-
[1m[35m (0.
|
|
49
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
|
|
50
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160108132438"]]
|
|
51
|
+
[1m[35m (0.5ms)[0m COMMIT
|
|
52
52
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
53
|
-
[1m[35m (1.
|
|
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
|
|
54
54
|
FROM pg_constraint c
|
|
55
55
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
56
56
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -62,7 +62,7 @@ WHERE c.contype = 'f'
|
|
|
62
62
|
AND t3.nspname = ANY (current_schemas(false))
|
|
63
63
|
ORDER BY c.conname
|
|
64
64
|
|
|
65
|
-
[1m[36m (1.
|
|
65
|
+
[1m[36m (1.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.8ms)[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.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
|
|
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
|
|
@@ -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.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
|
|
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
|
|
@@ -124,7 +124,7 @@ ORDER BY c.conname
|
|
|
124
124
|
[0m
|
|
125
125
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
126
126
|
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL
|
|
127
|
-
[1m[36m (
|
|
127
|
+
[1m[36m (1.0ms)[0m [1m SELECT schemaname || '.' || tablename
|
|
128
128
|
FROM pg_tables
|
|
129
129
|
WHERE
|
|
130
130
|
tablename !~ '_prt_' AND
|
|
@@ -132,332 +132,90 @@ ORDER BY c.conname
|
|
|
132
132
|
schemaname = ANY (current_schemas(false))
|
|
133
133
|
[0m
|
|
134
134
|
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
|
135
|
-
[1m[36m (9.
|
|
135
|
+
[1m[36m (9.2ms)[0m [1mTRUNCATE TABLE "public"."push_type_users", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies" RESTART IDENTITY CASCADE;[0m
|
|
136
136
|
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
|
|
137
137
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
138
138
|
--------------------------------------------------------------------------
|
|
139
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
|
139
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0005_anonymous
|
|
140
140
|
--------------------------------------------------------------------------
|
|
141
141
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
142
142
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
143
|
-
[1m[35m (0.
|
|
143
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
144
144
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
145
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "1"], ["created_at", "
|
|
145
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "1"], ["created_at", "2016-01-08 13:24:37.893112"], ["updated_at", "2016-01-08 13:24:37.893112"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
146
146
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
147
|
-
[1m[35m (0.
|
|
147
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
148
148
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
149
149
|
[1m[35m (0.1ms)[0m BEGIN
|
|
150
150
|
--------------------------------------------------------------------------
|
|
151
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
|
151
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0002_anonymous
|
|
152
152
|
--------------------------------------------------------------------------
|
|
153
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
154
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
155
153
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
154
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
155
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
156
156
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
157
|
-
[1m[36mSQL (0.
|
|
157
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2016-01-08 13:24:37.903156"], ["updated_at", "2016-01-08 13:24:37.903156"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
158
158
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
159
159
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
160
160
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
161
161
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
162
162
|
--------------------------------------------------------------------------
|
|
163
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
|
163
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0003_anonymous
|
|
164
164
|
--------------------------------------------------------------------------
|
|
165
165
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
166
166
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
167
167
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
168
168
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
169
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "3"], ["created_at", "
|
|
169
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "3"], ["created_at", "2016-01-08 13:24:37.907415"], ["updated_at", "2016-01-08 13:24:37.907415"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
170
170
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
171
171
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
172
172
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
173
173
|
[1m[35m (0.1ms)[0m BEGIN
|
|
174
174
|
--------------------------------------------------------------------------
|
|
175
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
|
175
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0007_anonymous
|
|
176
176
|
--------------------------------------------------------------------------
|
|
177
177
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
178
|
-
[1m[35m (0.
|
|
179
|
-
[1m[36m (0.
|
|
178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
179
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[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", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2016-01-08 13:24:37.911042"], ["updated_at", "2016-01-08 13:24:37.911042"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
182
182
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
183
183
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
184
184
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
185
|
-
[1m[36m (0.
|
|
185
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
186
186
|
--------------------------------------------------------------------------
|
|
187
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
|
187
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0004_anonymous
|
|
188
188
|
--------------------------------------------------------------------------
|
|
189
189
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
190
190
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
191
191
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
192
192
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
193
|
-
[1m[35mSQL (0.
|
|
193
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:37.914874"], ["updated_at", "2016-01-08 13:24:37.914874"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
194
194
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
195
195
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
196
196
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
197
197
|
[1m[35m (0.1ms)[0m BEGIN
|
|
198
198
|
--------------------------------------------------------------------------
|
|
199
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
|
199
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0001_anonymous
|
|
200
200
|
--------------------------------------------------------------------------
|
|
201
201
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
202
202
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
203
|
-
[1m[36m (0.
|
|
203
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
204
204
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
205
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "6"], ["created_at", "
|
|
205
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "6"], ["created_at", "2016-01-08 13:24:37.918735"], ["updated_at", "2016-01-08 13:24:37.918735"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
206
206
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
207
207
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
208
208
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
209
|
-
[1m[36m (0.
|
|
209
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
210
210
|
--------------------------------------------------------------------------
|
|
211
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash:
|
|
211
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0006_anonymous
|
|
212
212
|
--------------------------------------------------------------------------
|
|
213
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
214
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
215
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
216
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
217
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "7"], ["created_at", "2015-11-08 15:08:43.698509"], ["updated_at", "2015-11-08 15:08:43.698509"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
218
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
219
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
220
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
221
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
222
|
-
------------------------------------------------------------------------------------
|
|
223
|
-
PushType::WysiwygMediaControllerTest::POST #create::asset count: test_0001_anonymous
|
|
224
|
-
------------------------------------------------------------------------------------
|
|
225
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
226
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
227
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
228
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
229
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
230
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fb3f90424f0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151108-11009-u1ghas>>}}
|
|
231
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
232
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "8"], ["created_at", "2015-11-08 15:08:43.733644"], ["updated_at", "2015-11-08 15:08:43.733644"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
233
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
234
|
-
Completed 200 OK in 8ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
235
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
236
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
237
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
238
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
239
|
-
---------------------------------------------------------------------------
|
|
240
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0005_anonymous
|
|
241
|
-
---------------------------------------------------------------------------
|
|
242
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
243
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
244
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "9"], ["created_at", "2015-11-08 15:08:43.739741"], ["updated_at", "2015-11-08 15:08:43.739741"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
247
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "10"], ["created_at", "2015-11-08 15:08:43.742028"], ["updated_at", "2015-11-08 15:08:43.742028"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
250
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
251
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
252
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "11"], ["created_at", "2015-11-08 15:08:43.744131"], ["updated_at", "2015-11-08 15:08:43.744131"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
253
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "12"], ["created_at", "2015-11-08 15:08:43.746213"], ["updated_at", "2015-11-08 15:08:43.746213"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
256
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
257
|
-
[1m[36mPushType::Asset Load (0.5ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
|
258
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
259
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
260
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
261
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
262
|
-
---------------------------------------------------------------------------
|
|
263
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0002_anonymous
|
|
264
|
-
---------------------------------------------------------------------------
|
|
265
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
266
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
267
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
268
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
269
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "13"], ["created_at", "2015-11-08 15:08:43.754181"], ["updated_at", "2015-11-08 15:08:43.754181"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
270
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
271
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
272
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "14"], ["created_at", "2015-11-08 15:08:43.756445"], ["updated_at", "2015-11-08 15:08:43.756445"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
273
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
274
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
275
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "15"], ["created_at", "2015-11-08 15:08:43.758588"], ["updated_at", "2015-11-08 15:08:43.758588"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
276
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
277
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
278
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "16"], ["created_at", "2015-11-08 15:08:43.760659"], ["updated_at", "2015-11-08 15:08:43.760659"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
279
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
280
|
-
[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
|
|
281
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
282
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
283
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
284
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
285
|
-
---------------------------------------------------------------------------
|
|
286
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0001_anonymous
|
|
287
|
-
---------------------------------------------------------------------------
|
|
288
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
289
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
290
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
291
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
292
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "17"], ["created_at", "2015-11-08 15:08:43.766210"], ["updated_at", "2015-11-08 15:08:43.766210"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
293
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
294
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
295
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "18"], ["created_at", "2015-11-08 15:08:43.768430"], ["updated_at", "2015-11-08 15:08:43.768430"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
296
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
297
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
298
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "19"], ["created_at", "2015-11-08 15:08:43.770561"], ["updated_at", "2015-11-08 15:08:43.770561"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
299
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
300
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
301
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "20"], ["created_at", "2015-11-08 15:08:43.772857"], ["updated_at", "2015-11-08 15:08:43.772857"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
302
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
303
|
-
[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
|
|
304
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
305
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
306
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
307
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
308
|
-
---------------------------------------------------------------------------
|
|
309
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0004_anonymous
|
|
310
|
-
---------------------------------------------------------------------------
|
|
311
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
312
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
313
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
314
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
315
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "21"], ["created_at", "2015-11-08 15:08:43.778478"], ["updated_at", "2015-11-08 15:08:43.778478"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
316
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
317
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
318
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "22"], ["created_at", "2015-11-08 15:08:43.780728"], ["updated_at", "2015-11-08 15:08:43.780728"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
319
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
320
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
321
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "23"], ["created_at", "2015-11-08 15:08:43.783019"], ["updated_at", "2015-11-08 15:08:43.783019"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
322
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
323
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
324
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "24"], ["created_at", "2015-11-08 15:08:43.785210"], ["updated_at", "2015-11-08 15:08:43.785210"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
325
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
326
|
-
[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
|
|
327
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
328
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
329
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
330
|
-
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
|
331
|
-
---------------------------------------------------------------------------
|
|
332
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0003_anonymous
|
|
333
|
-
---------------------------------------------------------------------------
|
|
334
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
335
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
336
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
337
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
338
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "25"], ["created_at", "2015-11-08 15:08:43.790698"], ["updated_at", "2015-11-08 15:08:43.790698"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
339
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
340
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
341
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "26"], ["created_at", "2015-11-08 15:08:43.792820"], ["updated_at", "2015-11-08 15:08:43.792820"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
342
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
343
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
344
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "27"], ["created_at", "2015-11-08 15:08:43.795004"], ["updated_at", "2015-11-08 15:08:43.795004"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
345
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
346
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
347
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "28"], ["created_at", "2015-11-08 15:08:43.797061"], ["updated_at", "2015-11-08 15:08:43.797061"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
348
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
349
|
-
[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
|
|
350
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
351
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
352
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
353
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
354
|
-
---------------------------------------------------------------------------
|
|
355
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0005_anonymous
|
|
356
|
-
---------------------------------------------------------------------------
|
|
357
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
358
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
359
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
360
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
361
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "29"], ["created_at", "2015-11-08 15:08:43.805218"], ["updated_at", "2015-11-08 15:08:43.805218"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
362
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
363
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
364
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "30"], ["created_at", "2015-11-08 15:08:43.807483"], ["updated_at", "2015-11-08 15:08:43.807483"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
365
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
366
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
367
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "31"], ["created_at", "2015-11-08 15:08:43.809599"], ["updated_at", "2015-11-08 15:08:43.809599"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
368
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
369
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
370
|
-
[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", "32"], ["created_at", "2015-11-08 15:08:43.811633"], ["updated_at", "2015-11-08 15:08:43.811633"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
371
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
372
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
373
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
374
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
375
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
376
|
-
---------------------------------------------------------------------------
|
|
377
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0001_anonymous
|
|
378
|
-
---------------------------------------------------------------------------
|
|
379
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
380
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
381
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
382
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
383
|
-
[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", "33"], ["created_at", "2015-11-08 15:08:43.816427"], ["updated_at", "2015-11-08 15:08:43.816427"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
384
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
385
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
386
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "34"], ["created_at", "2015-11-08 15:08:43.819044"], ["updated_at", "2015-11-08 15:08:43.819044"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
387
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
388
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
389
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "35"], ["created_at", "2015-11-08 15:08:43.821225"], ["updated_at", "2015-11-08 15:08:43.821225"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
390
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
391
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
392
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "36"], ["created_at", "2015-11-08 15:08:43.823266"], ["updated_at", "2015-11-08 15:08:43.823266"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
393
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
394
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
395
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
396
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
397
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
398
|
-
---------------------------------------------------------------------------
|
|
399
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0002_anonymous
|
|
400
|
-
---------------------------------------------------------------------------
|
|
401
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
402
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
403
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
404
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
405
|
-
[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", "37"], ["created_at", "2015-11-08 15:08:43.827684"], ["updated_at", "2015-11-08 15:08:43.827684"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
406
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
407
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
408
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "38"], ["created_at", "2015-11-08 15:08:43.830065"], ["updated_at", "2015-11-08 15:08:43.830065"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
409
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
410
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
411
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "39"], ["created_at", "2015-11-08 15:08:43.832401"], ["updated_at", "2015-11-08 15:08:43.832401"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
412
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
413
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
414
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-11-08 15:08:43.834499"], ["updated_at", "2015-11-08 15:08:43.834499"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
415
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
416
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
417
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
418
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
419
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
420
|
-
---------------------------------------------------------------------------
|
|
421
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0003_anonymous
|
|
422
|
-
---------------------------------------------------------------------------
|
|
423
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
424
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
425
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
426
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
427
|
-
[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", "41"], ["created_at", "2015-11-08 15:08:43.839028"], ["updated_at", "2015-11-08 15:08:43.839028"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
428
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
429
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
430
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "42"], ["created_at", "2015-11-08 15:08:43.841255"], ["updated_at", "2015-11-08 15:08:43.841255"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
431
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
432
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
433
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "43"], ["created_at", "2015-11-08 15:08:43.843291"], ["updated_at", "2015-11-08 15:08:43.843291"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
434
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
435
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
436
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "44"], ["created_at", "2015-11-08 15:08:43.845297"], ["updated_at", "2015-11-08 15:08:43.845297"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
437
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
438
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
439
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
440
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
441
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
442
|
-
---------------------------------------------------------------------------
|
|
443
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0004_anonymous
|
|
444
|
-
---------------------------------------------------------------------------
|
|
445
213
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
446
214
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
447
215
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
448
216
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
449
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
450
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
451
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
452
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "46"], ["created_at", "2015-11-08 15:08:43.852010"], ["updated_at", "2015-11-08 15:08:43.852010"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
453
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
454
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
455
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "47"], ["created_at", "2015-11-08 15:08:43.854070"], ["updated_at", "2015-11-08 15:08:43.854070"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
217
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "7"], ["created_at", "2016-01-08 13:24:37.922353"], ["updated_at", "2016-01-08 13:24:37.922353"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
456
218
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
457
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
458
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "48"], ["created_at", "2015-11-08 15:08:43.856229"], ["updated_at", "2015-11-08 15:08:43.856229"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
459
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
460
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
461
219
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
462
220
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
463
221
|
[1m[35m (0.1ms)[0m BEGIN
|
|
@@ -466,66 +224,66 @@ PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_000
|
|
|
466
224
|
-------------------------------------------------------------------------------------------
|
|
467
225
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
468
226
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
469
|
-
[1m[36m (0.
|
|
227
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
470
228
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
471
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
229
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "8"], ["created_at", "2016-01-08 13:24:37.955729"], ["updated_at", "2016-01-08 13:24:37.955729"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
472
230
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
473
231
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
474
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
232
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "9"], ["created_at", "2016-01-08 13:24:37.958116"], ["updated_at", "2016-01-08 13:24:37.958116"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
475
233
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
476
234
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
477
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
235
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "10"], ["created_at", "2016-01-08 13:24:37.960058"], ["updated_at", "2016-01-08 13:24:37.960058"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
478
236
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
479
237
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
480
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
238
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "11"], ["created_at", "2016-01-08 13:24:37.962043"], ["updated_at", "2016-01-08 13:24:37.962043"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
481
239
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
482
240
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
483
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
241
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "12"], ["created_at", "2016-01-08 13:24:37.963980"], ["updated_at", "2016-01-08 13:24:37.963980"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
484
242
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
485
243
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
486
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
244
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:37.966197"], ["updated_at", "2016-01-08 13:24:37.966197"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
487
245
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
488
246
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
489
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
247
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:37.968238"], ["updated_at", "2016-01-08 13:24:37.968238"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
490
248
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
491
249
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
492
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
250
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:37.970243"], ["updated_at", "2016-01-08 13:24:37.970243"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
493
251
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
494
252
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
495
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
253
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:37.972217"], ["updated_at", "2016-01-08 13:24:37.972217"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
496
254
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
497
255
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
498
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
256
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:37.974179"], ["updated_at", "2016-01-08 13:24:37.974179"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
499
257
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
500
258
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
501
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
259
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:37.976239"], ["updated_at", "2016-01-08 13:24:37.976239"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
502
260
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
503
261
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
504
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
262
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "19"], ["created_at", "2016-01-08 13:24:37.978302"], ["updated_at", "2016-01-08 13:24:37.978302"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
505
263
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
506
264
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
507
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
265
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "20"], ["created_at", "2016-01-08 13:24:37.980309"], ["updated_at", "2016-01-08 13:24:37.980309"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
508
266
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
509
267
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
510
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
268
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "21"], ["created_at", "2016-01-08 13:24:37.982317"], ["updated_at", "2016-01-08 13:24:37.982317"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
511
269
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
512
270
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
513
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
271
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "22"], ["created_at", "2016-01-08 13:24:37.984326"], ["updated_at", "2016-01-08 13:24:37.984326"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
514
272
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
515
273
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
516
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
274
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "23"], ["created_at", "2016-01-08 13:24:37.986293"], ["updated_at", "2016-01-08 13:24:37.986293"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
517
275
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
518
276
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
519
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
277
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:37.988352"], ["updated_at", "2016-01-08 13:24:37.988352"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
520
278
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
521
279
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
522
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
280
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:37.990351"], ["updated_at", "2016-01-08 13:24:37.990351"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
523
281
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
524
282
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
525
283
|
Parameters: {"filter"=>"image"}
|
|
526
|
-
[1m[35mPushType::Asset Load (0.
|
|
284
|
+
[1m[35mPushType::Asset Load (0.6ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
|
527
285
|
[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
|
|
528
|
-
Completed 200 OK in
|
|
286
|
+
Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.7ms)
|
|
529
287
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
530
288
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
531
289
|
[1m[35m (0.1ms)[0m BEGIN
|
|
@@ -536,58 +294,58 @@ PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_000
|
|
|
536
294
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
537
295
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
538
296
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
539
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
297
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "26"], ["created_at", "2016-01-08 13:24:38.006573"], ["updated_at", "2016-01-08 13:24:38.006573"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
540
298
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
541
299
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
542
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
300
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "27"], ["created_at", "2016-01-08 13:24:38.008711"], ["updated_at", "2016-01-08 13:24:38.008711"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
543
301
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
544
302
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
545
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
303
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "28"], ["created_at", "2016-01-08 13:24:38.010751"], ["updated_at", "2016-01-08 13:24:38.010751"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
546
304
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
547
305
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
548
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
306
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "29"], ["created_at", "2016-01-08 13:24:38.012739"], ["updated_at", "2016-01-08 13:24:38.012739"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
549
307
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
550
308
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
551
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
309
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "30"], ["created_at", "2016-01-08 13:24:38.014695"], ["updated_at", "2016-01-08 13:24:38.014695"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
552
310
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
553
311
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
554
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
312
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.016824"], ["updated_at", "2016-01-08 13:24:38.016824"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
555
313
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
556
314
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
557
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
315
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.018967"], ["updated_at", "2016-01-08 13:24:38.018967"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
558
316
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
559
317
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
560
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
318
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.021047"], ["updated_at", "2016-01-08 13:24:38.021047"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
561
319
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
562
320
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
563
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
321
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "34"], ["created_at", "2016-01-08 13:24:38.023005"], ["updated_at", "2016-01-08 13:24:38.023005"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
564
322
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
565
323
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
566
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
324
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "35"], ["created_at", "2016-01-08 13:24:38.025191"], ["updated_at", "2016-01-08 13:24:38.025191"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
567
325
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
568
326
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
569
|
-
[1m[36mSQL (0.
|
|
327
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2016-01-08 13:24:38.027205"], ["updated_at", "2016-01-08 13:24:38.027205"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
570
328
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
571
329
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
572
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
330
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "37"], ["created_at", "2016-01-08 13:24:38.029453"], ["updated_at", "2016-01-08 13:24:38.029453"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
573
331
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
574
332
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
575
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
333
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "38"], ["created_at", "2016-01-08 13:24:38.031450"], ["updated_at", "2016-01-08 13:24:38.031450"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
576
334
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
577
335
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
578
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
336
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "39"], ["created_at", "2016-01-08 13:24:38.033399"], ["updated_at", "2016-01-08 13:24:38.033399"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
579
337
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
580
338
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
581
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
339
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "40"], ["created_at", "2016-01-08 13:24:38.035449"], ["updated_at", "2016-01-08 13:24:38.035449"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
582
340
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
583
341
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
584
|
-
[1m[35mSQL (0.
|
|
342
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "41"], ["created_at", "2016-01-08 13:24:38.037525"], ["updated_at", "2016-01-08 13:24:38.037525"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
585
343
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
586
344
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
587
|
-
[1m[36mSQL (0.
|
|
345
|
+
[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", "42"], ["created_at", "2016-01-08 13:24:38.039539"], ["updated_at", "2016-01-08 13:24:38.039539"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
588
346
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
589
347
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
590
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
348
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.041774"], ["updated_at", "2016-01-08 13:24:38.041774"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
591
349
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
592
350
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
593
351
|
Parameters: {"filter"=>"image"}
|
|
@@ -600,136 +358,136 @@ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
|
|
600
358
|
-------------------------------------------------------------------------------------------
|
|
601
359
|
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0002_anonymous
|
|
602
360
|
-------------------------------------------------------------------------------------------
|
|
603
|
-
[1m[36m (0.
|
|
361
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
604
362
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
605
363
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
606
364
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
607
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
365
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "44"], ["created_at", "2016-01-08 13:24:38.049776"], ["updated_at", "2016-01-08 13:24:38.049776"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
608
366
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
609
367
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
610
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
368
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "45"], ["created_at", "2016-01-08 13:24:38.051970"], ["updated_at", "2016-01-08 13:24:38.051970"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
611
369
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
612
370
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
613
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
371
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "46"], ["created_at", "2016-01-08 13:24:38.053975"], ["updated_at", "2016-01-08 13:24:38.053975"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
614
372
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
615
373
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
616
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
374
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "47"], ["created_at", "2016-01-08 13:24:38.056007"], ["updated_at", "2016-01-08 13:24:38.056007"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
617
375
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
618
376
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
619
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
377
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "48"], ["created_at", "2016-01-08 13:24:38.058035"], ["updated_at", "2016-01-08 13:24:38.058035"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
620
378
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
621
379
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
622
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
380
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.060225"], ["updated_at", "2016-01-08 13:24:38.060225"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
623
381
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
624
382
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
625
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
383
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.062314"], ["updated_at", "2016-01-08 13:24:38.062314"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
626
384
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
627
385
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
628
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
386
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.064414"], ["updated_at", "2016-01-08 13:24:38.064414"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
629
387
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
630
388
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
631
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
389
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.066381"], ["updated_at", "2016-01-08 13:24:38.066381"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
632
390
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
633
391
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
634
|
-
[1m[35mSQL (0.
|
|
392
|
+
[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", "53"], ["created_at", "2016-01-08 13:24:38.068408"], ["updated_at", "2016-01-08 13:24:38.068408"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
635
393
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
636
394
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
637
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
395
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.070609"], ["updated_at", "2016-01-08 13:24:38.070609"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
638
396
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
639
397
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
640
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
398
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "55"], ["created_at", "2016-01-08 13:24:38.072719"], ["updated_at", "2016-01-08 13:24:38.072719"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
641
399
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
642
400
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
643
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
401
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "56"], ["created_at", "2016-01-08 13:24:38.074807"], ["updated_at", "2016-01-08 13:24:38.074807"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
644
402
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
645
403
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
646
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
404
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "57"], ["created_at", "2016-01-08 13:24:38.076810"], ["updated_at", "2016-01-08 13:24:38.076810"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
647
405
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
648
406
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
649
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
407
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "58"], ["created_at", "2016-01-08 13:24:38.078857"], ["updated_at", "2016-01-08 13:24:38.078857"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
650
408
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
651
409
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
652
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
410
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "59"], ["created_at", "2016-01-08 13:24:38.080918"], ["updated_at", "2016-01-08 13:24:38.080918"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
653
411
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
654
412
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
655
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
413
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "60"], ["created_at", "2016-01-08 13:24:38.083222"], ["updated_at", "2016-01-08 13:24:38.083222"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
656
414
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
657
415
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
658
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
416
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "61"], ["created_at", "2016-01-08 13:24:38.085358"], ["updated_at", "2016-01-08 13:24:38.085358"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
659
417
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
660
418
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
661
419
|
Parameters: {"filter"=>"image"}
|
|
662
|
-
[1m[35mPushType::Asset Load (0.
|
|
663
|
-
[1m[36m (0.
|
|
420
|
+
[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
|
|
421
|
+
[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
|
|
664
422
|
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
|
665
423
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
666
|
-
[1m[36m (0.
|
|
424
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
667
425
|
[1m[35m (0.1ms)[0m BEGIN
|
|
668
426
|
-------------------------------------------------------------------------------------------
|
|
669
427
|
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0003_anonymous
|
|
670
428
|
-------------------------------------------------------------------------------------------
|
|
671
429
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
672
|
-
[1m[35m (0.
|
|
430
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
673
431
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
674
432
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
675
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
433
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "62"], ["created_at", "2016-01-08 13:24:38.093354"], ["updated_at", "2016-01-08 13:24:38.093354"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
676
434
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
677
435
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
678
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
436
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "63"], ["created_at", "2016-01-08 13:24:38.095544"], ["updated_at", "2016-01-08 13:24:38.095544"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
679
437
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
680
438
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
681
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
439
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "64"], ["created_at", "2016-01-08 13:24:38.097585"], ["updated_at", "2016-01-08 13:24:38.097585"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
682
440
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
683
441
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
684
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
442
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "65"], ["created_at", "2016-01-08 13:24:38.099570"], ["updated_at", "2016-01-08 13:24:38.099570"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
685
443
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
686
444
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
687
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
445
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "66"], ["created_at", "2016-01-08 13:24:38.101585"], ["updated_at", "2016-01-08 13:24:38.101585"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
688
446
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
689
447
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
690
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
448
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.103736"], ["updated_at", "2016-01-08 13:24:38.103736"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
691
449
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
692
450
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
693
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
451
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.105819"], ["updated_at", "2016-01-08 13:24:38.105819"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
694
452
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
695
453
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
696
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
454
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.107870"], ["updated_at", "2016-01-08 13:24:38.107870"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
697
455
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
698
456
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
699
|
-
[1m[36mSQL (0.
|
|
457
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.109975"], ["updated_at", "2016-01-08 13:24:38.109975"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
700
458
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
701
459
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
702
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
460
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.111926"], ["updated_at", "2016-01-08 13:24:38.111926"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
703
461
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
704
462
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
705
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
463
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.113947"], ["updated_at", "2016-01-08 13:24:38.113947"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
706
464
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
707
465
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
708
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
466
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "73"], ["created_at", "2016-01-08 13:24:38.116019"], ["updated_at", "2016-01-08 13:24:38.116019"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
709
467
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
710
468
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
711
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
469
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "74"], ["created_at", "2016-01-08 13:24:38.118068"], ["updated_at", "2016-01-08 13:24:38.118068"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
712
470
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
713
471
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
714
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
472
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "75"], ["created_at", "2016-01-08 13:24:38.120195"], ["updated_at", "2016-01-08 13:24:38.120195"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
715
473
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
716
474
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
717
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
475
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "76"], ["created_at", "2016-01-08 13:24:38.122315"], ["updated_at", "2016-01-08 13:24:38.122315"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
718
476
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
719
477
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
720
|
-
[1m[35mSQL (0.
|
|
478
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "77"], ["created_at", "2016-01-08 13:24:38.124289"], ["updated_at", "2016-01-08 13:24:38.124289"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
721
479
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
722
480
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
723
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
481
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "78"], ["created_at", "2016-01-08 13:24:38.126681"], ["updated_at", "2016-01-08 13:24:38.126681"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
724
482
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
725
483
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
726
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
484
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.128795"], ["updated_at", "2016-01-08 13:24:38.128795"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
727
485
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
728
486
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
729
487
|
Parameters: {"filter"=>"image"}
|
|
730
|
-
[1m[35mPushType::Asset Load (0.
|
|
488
|
+
[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
|
|
731
489
|
[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
|
|
732
|
-
Completed 200 OK in
|
|
490
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
|
733
491
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
734
492
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
735
493
|
[1m[35m (0.0ms)[0m BEGIN
|
|
@@ -743,7 +501,7 @@ Processing by PushType::WysiwygMediaController#create as JSON
|
|
|
743
501
|
Parameters: {"asset"=>{}}
|
|
744
502
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
745
503
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
746
|
-
Completed 200 OK in
|
|
504
|
+
Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
747
505
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
748
506
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
749
507
|
[1m[35m (0.1ms)[0m BEGIN
|
|
@@ -764,737 +522,979 @@ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
|
764
522
|
--------------------------------------------------------------------------------------------
|
|
765
523
|
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0001_anonymous
|
|
766
524
|
--------------------------------------------------------------------------------------------
|
|
767
|
-
[1m[36m (0.
|
|
768
|
-
[1m[35m (0.
|
|
769
|
-
[1m[36m (0.
|
|
525
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
526
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
527
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
770
528
|
Processing by PushType::WysiwygMediaController#create as JSON
|
|
771
529
|
Parameters: {"asset"=>{}}
|
|
772
530
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
773
531
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
774
|
-
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.
|
|
532
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
775
533
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
776
534
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
777
535
|
[1m[35m (0.1ms)[0m BEGIN
|
|
778
|
-
|
|
779
|
-
PushType::
|
|
780
|
-
|
|
536
|
+
-----------------------------------------------
|
|
537
|
+
PushType::WysiwygFieldTest: test_0005_anonymous
|
|
538
|
+
-----------------------------------------------
|
|
539
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
540
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
541
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
542
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
543
|
+
[1m[36mPushType::Node Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-1' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
|
544
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-1"], ["status", 0], ["created_at", "2016-01-08 13:24:38.176408"], ["updated_at", "2016-01-08 13:24:38.176408"]]
|
|
545
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t4d442b1367445d40dfa33a8db235e556[0m
|
|
546
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "e2d68b1b-2dbd-42c9-9cdd-335a3deb1450"], ["descendant_id", "e2d68b1b-2dbd-42c9-9cdd-335a3deb1450"], ["generations", 0]]
|
|
547
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "push_type_nodes"
|
|
548
|
+
SET "sort_order" = t.seq + -1
|
|
549
|
+
FROM (
|
|
550
|
+
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
|
551
|
+
FROM "push_type_nodes"
|
|
552
|
+
WHERE "parent_id" IS NULL
|
|
553
|
+
) AS t
|
|
554
|
+
WHERE "push_type_nodes"."id" = t.id
|
|
555
|
+
[0m
|
|
556
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "e2d68b1b-2dbd-42c9-9cdd-335a3deb1450"]]
|
|
557
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "e2d68b1b-2dbd-42c9-9cdd-335a3deb1450"]]
|
|
558
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS tc22959677a3ed927bbde911de4b586d6
|
|
559
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
560
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
561
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
562
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
563
|
+
-----------------------------------------------
|
|
564
|
+
PushType::WysiwygFieldTest: test_0003_anonymous
|
|
565
|
+
-----------------------------------------------
|
|
566
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
567
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
568
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
569
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
570
|
+
[1m[36mPushType::Node Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-2' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
|
571
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-2"], ["status", 0], ["created_at", "2016-01-08 13:24:38.199028"], ["updated_at", "2016-01-08 13:24:38.199028"]]
|
|
572
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t828196ef606feff4b4b857642e2b4aba[0m
|
|
573
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "824bac3a-1017-4c91-9fed-84fbd716c3fc"], ["descendant_id", "824bac3a-1017-4c91-9fed-84fbd716c3fc"], ["generations", 0]]
|
|
574
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
|
575
|
+
SET "sort_order" = t.seq + -1
|
|
576
|
+
FROM (
|
|
577
|
+
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
|
578
|
+
FROM "push_type_nodes"
|
|
579
|
+
WHERE "parent_id" IS NULL
|
|
580
|
+
) AS t
|
|
581
|
+
WHERE "push_type_nodes"."id" = t.id
|
|
582
|
+
[0m
|
|
583
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.2ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "824bac3a-1017-4c91-9fed-84fbd716c3fc"]]
|
|
584
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "824bac3a-1017-4c91-9fed-84fbd716c3fc"]]
|
|
585
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t1953afbc01206449113e8812c54d4790
|
|
586
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
587
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
588
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
589
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
590
|
+
-----------------------------------------------
|
|
591
|
+
PushType::WysiwygFieldTest: test_0002_anonymous
|
|
592
|
+
-----------------------------------------------
|
|
781
593
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
782
594
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
783
595
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
784
596
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
785
|
-
[1m[
|
|
786
|
-
[1m[
|
|
597
|
+
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-3' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
|
598
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-3"], ["status", 0], ["created_at", "2016-01-08 13:24:38.207226"], ["updated_at", "2016-01-08 13:24:38.207226"]]
|
|
599
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS ta00621dcd44c356a27aad8b70adb650c[0m
|
|
600
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "19a9734d-cbb8-4b9a-92e7-3a31c162e5fe"], ["descendant_id", "19a9734d-cbb8-4b9a-92e7-3a31c162e5fe"], ["generations", 0]]
|
|
601
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
|
602
|
+
SET "sort_order" = t.seq + -1
|
|
603
|
+
FROM (
|
|
604
|
+
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
|
605
|
+
FROM "push_type_nodes"
|
|
606
|
+
WHERE "parent_id" IS NULL
|
|
607
|
+
) AS t
|
|
608
|
+
WHERE "push_type_nodes"."id" = t.id
|
|
609
|
+
[0m
|
|
610
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "19a9734d-cbb8-4b9a-92e7-3a31c162e5fe"]]
|
|
611
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "19a9734d-cbb8-4b9a-92e7-3a31c162e5fe"]]
|
|
612
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS tbd34876db4b544610082148706b2a9c7
|
|
613
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
614
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
615
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
616
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
617
|
+
-----------------------------------------------
|
|
618
|
+
PushType::WysiwygFieldTest: test_0004_anonymous
|
|
619
|
+
-----------------------------------------------
|
|
620
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
621
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
622
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
623
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
624
|
+
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-4' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
|
625
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-4"], ["status", 0], ["created_at", "2016-01-08 13:24:38.214962"], ["updated_at", "2016-01-08 13:24:38.214962"]]
|
|
626
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t4b55df96f2c756889021cd55b73e57a0[0m
|
|
627
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "a565a7c9-1e6e-4468-983a-8344e15eeab9"], ["descendant_id", "a565a7c9-1e6e-4468-983a-8344e15eeab9"], ["generations", 0]]
|
|
628
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
|
629
|
+
SET "sort_order" = t.seq + -1
|
|
630
|
+
FROM (
|
|
631
|
+
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
|
632
|
+
FROM "push_type_nodes"
|
|
633
|
+
WHERE "parent_id" IS NULL
|
|
634
|
+
) AS t
|
|
635
|
+
WHERE "push_type_nodes"."id" = t.id
|
|
636
|
+
[0m
|
|
637
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.2ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "a565a7c9-1e6e-4468-983a-8344e15eeab9"]]
|
|
638
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "a565a7c9-1e6e-4468-983a-8344e15eeab9"]]
|
|
639
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t9c34426d99c71a31da209af573e4ce43
|
|
640
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
641
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
642
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
643
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
644
|
+
-----------------------------------------------
|
|
645
|
+
PushType::WysiwygFieldTest: test_0001_anonymous
|
|
646
|
+
-----------------------------------------------
|
|
647
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
648
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
649
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
650
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
651
|
+
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-5' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
|
652
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-5"], ["status", 0], ["created_at", "2016-01-08 13:24:38.222852"], ["updated_at", "2016-01-08 13:24:38.222852"]]
|
|
653
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t677ee32bfbfa0b92bb4c5f34d62dbd71[0m
|
|
654
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "2a9a5e53-2805-404f-859f-fb352387f787"], ["descendant_id", "2a9a5e53-2805-404f-859f-fb352387f787"], ["generations", 0]]
|
|
655
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
|
656
|
+
SET "sort_order" = t.seq + -1
|
|
657
|
+
FROM (
|
|
658
|
+
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
|
659
|
+
FROM "push_type_nodes"
|
|
660
|
+
WHERE "parent_id" IS NULL
|
|
661
|
+
) AS t
|
|
662
|
+
WHERE "push_type_nodes"."id" = t.id
|
|
663
|
+
[0m
|
|
664
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "2a9a5e53-2805-404f-859f-fb352387f787"]]
|
|
665
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "2a9a5e53-2805-404f-859f-fb352387f787"]]
|
|
666
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t6096ba169160ada9851eae7f52d6ffc8
|
|
667
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
668
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
669
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
670
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
671
|
+
------------------------------------------------------------------------------------
|
|
672
|
+
PushType::WysiwygMediaControllerTest::POST #create::asset count: test_0001_anonymous
|
|
673
|
+
------------------------------------------------------------------------------------
|
|
674
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
675
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
677
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
678
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
679
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f979fcb06e0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160108-6378-vns9y4>>}}
|
|
680
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
681
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "80"], ["created_at", "2016-01-08 13:24:38.234068"], ["updated_at", "2016-01-08 13:24:38.234068"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
682
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
683
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
684
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
685
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
686
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
687
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
688
|
+
------------------------------------------------------------------------------------------
|
|
689
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0003_anonymous
|
|
690
|
+
------------------------------------------------------------------------------------------
|
|
691
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
692
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
693
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
787
694
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
788
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
695
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "81"], ["created_at", "2016-01-08 13:24:38.239975"], ["updated_at", "2016-01-08 13:24:38.239975"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
789
696
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
790
697
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
791
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
698
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "82"], ["created_at", "2016-01-08 13:24:38.242164"], ["updated_at", "2016-01-08 13:24:38.242164"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
792
699
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
793
700
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
794
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
701
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "83"], ["created_at", "2016-01-08 13:24:38.244233"], ["updated_at", "2016-01-08 13:24:38.244233"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
795
702
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
796
703
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
797
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
704
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "84"], ["created_at", "2016-01-08 13:24:38.246157"], ["updated_at", "2016-01-08 13:24:38.246157"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
798
705
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
799
706
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
800
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
707
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "85"], ["created_at", "2016-01-08 13:24:38.248118"], ["updated_at", "2016-01-08 13:24:38.248118"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
801
708
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
802
709
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
803
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
710
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.250167"], ["updated_at", "2016-01-08 13:24:38.250167"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
804
711
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
805
712
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
806
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
713
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.252242"], ["updated_at", "2016-01-08 13:24:38.252242"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
807
714
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
808
715
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
809
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
716
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "88"], ["created_at", "2016-01-08 13:24:38.254366"], ["updated_at", "2016-01-08 13:24:38.254366"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
810
717
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
811
718
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
812
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
719
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "89"], ["created_at", "2016-01-08 13:24:38.256441"], ["updated_at", "2016-01-08 13:24:38.256441"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
813
720
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
814
721
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
815
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
722
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "90"], ["created_at", "2016-01-08 13:24:38.258614"], ["updated_at", "2016-01-08 13:24:38.258614"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
816
723
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
817
724
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
818
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
725
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "91"], ["created_at", "2016-01-08 13:24:38.260758"], ["updated_at", "2016-01-08 13:24:38.260758"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
819
726
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
820
727
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
821
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
728
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "92"], ["created_at", "2016-01-08 13:24:38.262960"], ["updated_at", "2016-01-08 13:24:38.262960"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
822
729
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
823
730
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
824
|
-
[1m[35mSQL (0.
|
|
731
|
+
[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", "93"], ["created_at", "2016-01-08 13:24:38.266774"], ["updated_at", "2016-01-08 13:24:38.266774"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
825
732
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
826
733
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
827
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
734
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "94"], ["created_at", "2016-01-08 13:24:38.269383"], ["updated_at", "2016-01-08 13:24:38.269383"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
828
735
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
829
736
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
830
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
737
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "95"], ["created_at", "2016-01-08 13:24:38.271823"], ["updated_at", "2016-01-08 13:24:38.271823"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
831
738
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
832
739
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
833
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
740
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "96"], ["created_at", "2016-01-08 13:24:38.274404"], ["updated_at", "2016-01-08 13:24:38.274404"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
834
741
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
835
742
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
836
|
-
[1m[35mSQL (0.
|
|
743
|
+
[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", "97"], ["created_at", "2016-01-08 13:24:38.276863"], ["updated_at", "2016-01-08 13:24:38.276863"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
837
744
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
838
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
839
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
|
840
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
|
841
|
-
[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
|
|
842
|
-
Completed 200 OK in 120ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
|
843
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
844
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
845
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
846
|
-
--------------------------------------------------------------------------------------
|
|
847
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0001_anonymous
|
|
848
|
-
--------------------------------------------------------------------------------------
|
|
849
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
850
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
851
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
852
745
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
853
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
746
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "98"], ["created_at", "2016-01-08 13:24:38.279828"], ["updated_at", "2016-01-08 13:24:38.279828"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
854
747
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
748
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
749
|
+
Parameters: {"filter"=>"file"}
|
|
750
|
+
[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
|
|
751
|
+
[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/%')
|
|
752
|
+
Completed 200 OK in 122ms (Views: 0.9ms | ActiveRecord: 0.7ms)
|
|
753
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
754
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
755
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
756
|
+
------------------------------------------------------------------------------------------
|
|
757
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0002_anonymous
|
|
758
|
+
------------------------------------------------------------------------------------------
|
|
759
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
760
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
761
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
855
762
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
856
|
-
[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", "
|
|
763
|
+
[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", "99"], ["created_at", "2016-01-08 13:24:38.408502"], ["updated_at", "2016-01-08 13:24:38.408502"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
857
764
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
858
765
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
859
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
766
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "100"], ["created_at", "2016-01-08 13:24:38.411523"], ["updated_at", "2016-01-08 13:24:38.411523"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
860
767
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
861
768
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
862
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
769
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "101"], ["created_at", "2016-01-08 13:24:38.414316"], ["updated_at", "2016-01-08 13:24:38.414316"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
863
770
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
864
771
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
865
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
772
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "102"], ["created_at", "2016-01-08 13:24:38.416477"], ["updated_at", "2016-01-08 13:24:38.416477"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
866
773
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
867
774
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
868
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
775
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "103"], ["created_at", "2016-01-08 13:24:38.418670"], ["updated_at", "2016-01-08 13:24:38.418670"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
869
776
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
870
777
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
871
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
778
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "104"], ["created_at", "2016-01-08 13:24:38.420828"], ["updated_at", "2016-01-08 13:24:38.420828"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
872
779
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
873
780
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
874
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
781
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "105"], ["created_at", "2016-01-08 13:24:38.422971"], ["updated_at", "2016-01-08 13:24:38.422971"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
875
782
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
876
783
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
877
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
784
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "106"], ["created_at", "2016-01-08 13:24:38.425145"], ["updated_at", "2016-01-08 13:24:38.425145"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
878
785
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
879
786
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
880
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
787
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "107"], ["created_at", "2016-01-08 13:24:38.427515"], ["updated_at", "2016-01-08 13:24:38.427515"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
881
788
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
882
789
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
883
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
790
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "108"], ["created_at", "2016-01-08 13:24:38.430016"], ["updated_at", "2016-01-08 13:24:38.430016"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
884
791
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
885
792
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
886
|
-
[1m[35mSQL (0.
|
|
793
|
+
[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", "109"], ["created_at", "2016-01-08 13:24:38.432933"], ["updated_at", "2016-01-08 13:24:38.432933"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
887
794
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
888
795
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
889
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
796
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "110"], ["created_at", "2016-01-08 13:24:38.435756"], ["updated_at", "2016-01-08 13:24:38.435756"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
890
797
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
891
798
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
892
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
799
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "111"], ["created_at", "2016-01-08 13:24:38.438039"], ["updated_at", "2016-01-08 13:24:38.438039"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
893
800
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
894
801
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
895
|
-
[1m[36mSQL (0.
|
|
802
|
+
[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", "112"], ["created_at", "2016-01-08 13:24:38.440644"], ["updated_at", "2016-01-08 13:24:38.440644"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
896
803
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
897
804
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
898
|
-
[1m[35mSQL (0.
|
|
805
|
+
[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", "113"], ["created_at", "2016-01-08 13:24:38.443481"], ["updated_at", "2016-01-08 13:24:38.443481"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
899
806
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
900
807
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
901
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
808
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "114"], ["created_at", "2016-01-08 13:24:38.446799"], ["updated_at", "2016-01-08 13:24:38.446799"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
902
809
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
903
810
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
904
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
811
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "115"], ["created_at", "2016-01-08 13:24:38.449139"], ["updated_at", "2016-01-08 13:24:38.449139"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
905
812
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
906
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
907
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
|
908
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
|
909
|
-
[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
|
|
910
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
911
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
912
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
913
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
914
|
-
--------------------------------------------------------------------------------------
|
|
915
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0004_anonymous
|
|
916
|
-
--------------------------------------------------------------------------------------
|
|
917
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
918
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
919
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
920
813
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
921
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
814
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "116"], ["created_at", "2016-01-08 13:24:38.451312"], ["updated_at", "2016-01-08 13:24:38.451312"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
922
815
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
816
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
817
|
+
Parameters: {"filter"=>"file"}
|
|
818
|
+
[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
|
|
819
|
+
[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/%')
|
|
820
|
+
Completed 200 OK in 12ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
|
821
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
822
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
823
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
824
|
+
------------------------------------------------------------------------------------------
|
|
825
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0004_anonymous
|
|
826
|
+
------------------------------------------------------------------------------------------
|
|
827
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
828
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
829
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
923
830
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
924
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
831
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "117"], ["created_at", "2016-01-08 13:24:38.468167"], ["updated_at", "2016-01-08 13:24:38.468167"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
925
832
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
926
833
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
927
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
834
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "118"], ["created_at", "2016-01-08 13:24:38.470352"], ["updated_at", "2016-01-08 13:24:38.470352"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
928
835
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
929
836
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
930
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
837
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "119"], ["created_at", "2016-01-08 13:24:38.472318"], ["updated_at", "2016-01-08 13:24:38.472318"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
931
838
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
932
839
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
933
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
840
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "120"], ["created_at", "2016-01-08 13:24:38.474339"], ["updated_at", "2016-01-08 13:24:38.474339"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
934
841
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
935
842
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
936
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
843
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "121"], ["created_at", "2016-01-08 13:24:38.476474"], ["updated_at", "2016-01-08 13:24:38.476474"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
937
844
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
938
845
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
939
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "122"], ["created_at", "2016-01-08 13:24:38.479573"], ["updated_at", "2016-01-08 13:24:38.479573"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
940
847
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
941
848
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
942
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
849
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.481906"], ["updated_at", "2016-01-08 13:24:38.481906"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
943
850
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
944
851
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
945
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
852
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "124"], ["created_at", "2016-01-08 13:24:38.484075"], ["updated_at", "2016-01-08 13:24:38.484075"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
946
853
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
947
854
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
948
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
855
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "125"], ["created_at", "2016-01-08 13:24:38.486229"], ["updated_at", "2016-01-08 13:24:38.486229"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
949
856
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
950
857
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
951
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
858
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "126"], ["created_at", "2016-01-08 13:24:38.488300"], ["updated_at", "2016-01-08 13:24:38.488300"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
952
859
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
953
860
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
954
|
-
[1m[35mSQL (0.
|
|
861
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "127"], ["created_at", "2016-01-08 13:24:38.490367"], ["updated_at", "2016-01-08 13:24:38.490367"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
955
862
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
956
863
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
957
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
864
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "128"], ["created_at", "2016-01-08 13:24:38.492402"], ["updated_at", "2016-01-08 13:24:38.492402"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
958
865
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
959
866
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
960
|
-
[1m[35mSQL (0.
|
|
867
|
+
[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", "129"], ["created_at", "2016-01-08 13:24:38.495114"], ["updated_at", "2016-01-08 13:24:38.495114"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
961
868
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
962
869
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
963
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
870
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "130"], ["created_at", "2016-01-08 13:24:38.497807"], ["updated_at", "2016-01-08 13:24:38.497807"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
964
871
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
965
872
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
966
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
873
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "131"], ["created_at", "2016-01-08 13:24:38.499945"], ["updated_at", "2016-01-08 13:24:38.499945"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
967
874
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
968
875
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
969
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
876
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "132"], ["created_at", "2016-01-08 13:24:38.502235"], ["updated_at", "2016-01-08 13:24:38.502235"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
970
877
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
971
878
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
879
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "133"], ["created_at", "2016-01-08 13:24:38.504302"], ["updated_at", "2016-01-08 13:24:38.504302"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
973
880
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
974
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
975
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
|
976
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
|
977
|
-
[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
|
|
978
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
979
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
980
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
981
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
982
|
-
--------------------------------------------------------------------------------------
|
|
983
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0002_anonymous
|
|
984
|
-
--------------------------------------------------------------------------------------
|
|
985
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
986
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
987
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
988
881
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
989
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
882
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "134"], ["created_at", "2016-01-08 13:24:38.506305"], ["updated_at", "2016-01-08 13:24:38.506305"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
990
883
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
884
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
885
|
+
Parameters: {"filter"=>"file"}
|
|
886
|
+
[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
|
|
887
|
+
[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/%')
|
|
888
|
+
Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
|
889
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
890
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
891
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
892
|
+
------------------------------------------------------------------------------------------
|
|
893
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0001_anonymous
|
|
894
|
+
------------------------------------------------------------------------------------------
|
|
895
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
896
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
897
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
991
898
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
992
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
899
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "135"], ["created_at", "2016-01-08 13:24:38.521117"], ["updated_at", "2016-01-08 13:24:38.521117"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
993
900
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
994
901
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
995
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
902
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "136"], ["created_at", "2016-01-08 13:24:38.523235"], ["updated_at", "2016-01-08 13:24:38.523235"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
996
903
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
997
904
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
998
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
905
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "137"], ["created_at", "2016-01-08 13:24:38.525306"], ["updated_at", "2016-01-08 13:24:38.525306"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
999
906
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1000
907
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1001
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
908
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "138"], ["created_at", "2016-01-08 13:24:38.527425"], ["updated_at", "2016-01-08 13:24:38.527425"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1002
909
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1003
910
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1004
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
911
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "139"], ["created_at", "2016-01-08 13:24:38.529462"], ["updated_at", "2016-01-08 13:24:38.529462"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1005
912
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1006
913
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1007
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
914
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.531518"], ["updated_at", "2016-01-08 13:24:38.531518"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1008
915
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1009
916
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1010
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
917
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.533503"], ["updated_at", "2016-01-08 13:24:38.533503"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1011
918
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1012
919
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1013
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
920
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "142"], ["created_at", "2016-01-08 13:24:38.535590"], ["updated_at", "2016-01-08 13:24:38.535590"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1014
921
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1015
922
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1016
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
923
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "143"], ["created_at", "2016-01-08 13:24:38.537631"], ["updated_at", "2016-01-08 13:24:38.537631"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1017
924
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1018
925
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1019
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
926
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "144"], ["created_at", "2016-01-08 13:24:38.539583"], ["updated_at", "2016-01-08 13:24:38.539583"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1020
927
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1021
928
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1022
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
929
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "145"], ["created_at", "2016-01-08 13:24:38.541728"], ["updated_at", "2016-01-08 13:24:38.541728"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1023
930
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1024
931
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1025
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
932
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "146"], ["created_at", "2016-01-08 13:24:38.543850"], ["updated_at", "2016-01-08 13:24:38.543850"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1026
933
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1027
934
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1028
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
935
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "147"], ["created_at", "2016-01-08 13:24:38.545798"], ["updated_at", "2016-01-08 13:24:38.545798"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1029
936
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1030
937
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1031
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
938
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "148"], ["created_at", "2016-01-08 13:24:38.547756"], ["updated_at", "2016-01-08 13:24:38.547756"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1032
939
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1033
940
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1034
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
941
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "149"], ["created_at", "2016-01-08 13:24:38.549659"], ["updated_at", "2016-01-08 13:24:38.549659"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1035
942
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1036
943
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1037
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
944
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "150"], ["created_at", "2016-01-08 13:24:38.551713"], ["updated_at", "2016-01-08 13:24:38.551713"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1038
945
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1039
946
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1040
|
-
[1m[35mSQL (0.
|
|
947
|
+
[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", "151"], ["created_at", "2016-01-08 13:24:38.554045"], ["updated_at", "2016-01-08 13:24:38.554045"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1041
948
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
949
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
950
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "152"], ["created_at", "2016-01-08 13:24:38.556329"], ["updated_at", "2016-01-08 13:24:38.556329"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
951
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1042
952
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1043
|
-
Parameters: {"filter"=>"file"
|
|
1044
|
-
[1m[
|
|
1045
|
-
[1m[
|
|
1046
|
-
Completed 200 OK in
|
|
1047
|
-
[1m[
|
|
1048
|
-
[1m[
|
|
1049
|
-
[1m[
|
|
1050
|
-
|
|
1051
|
-
PushType::
|
|
1052
|
-
|
|
1053
|
-
[1m[
|
|
1054
|
-
[1m[
|
|
1055
|
-
[1m[
|
|
953
|
+
Parameters: {"filter"=>"file"}
|
|
954
|
+
[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
|
|
955
|
+
[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/%')
|
|
956
|
+
Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
|
957
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
958
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
959
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
960
|
+
--------------------------------------------------------------------------------------
|
|
961
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0002_anonymous
|
|
962
|
+
--------------------------------------------------------------------------------------
|
|
963
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
964
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
965
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
966
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
967
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "153"], ["created_at", "2016-01-08 13:24:38.572348"], ["updated_at", "2016-01-08 13:24:38.572348"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
968
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1056
969
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1057
|
-
[1m[
|
|
1058
|
-
[1m[
|
|
1059
|
-
[1m[36m (0.1ms)[0m [
|
|
1060
|
-
[1m[35mSQL (0.
|
|
1061
|
-
[1m[36m (0.5ms)[0m [1mUPDATE "push_type_nodes"
|
|
1062
|
-
SET "sort_order" = t.seq + -1
|
|
1063
|
-
FROM (
|
|
1064
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
|
1065
|
-
FROM "push_type_nodes"
|
|
1066
|
-
WHERE "parent_id" IS NULL
|
|
1067
|
-
) AS t
|
|
1068
|
-
WHERE "push_type_nodes"."id" = t.id
|
|
1069
|
-
[0m
|
|
1070
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "ab21a45a-6138-487c-82c5-4478812d9408"]]
|
|
1071
|
-
[1m[36mPushType::Node Load (0.2ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "ab21a45a-6138-487c-82c5-4478812d9408"]]
|
|
1072
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t2529971faebe5f46d34fab17a7f77df5
|
|
970
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "154"], ["created_at", "2016-01-08 13:24:38.574438"], ["updated_at", "2016-01-08 13:24:38.574438"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
971
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
972
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
973
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "155"], ["created_at", "2016-01-08 13:24:38.576595"], ["updated_at", "2016-01-08 13:24:38.576595"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1073
974
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1074
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1075
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1076
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1077
|
-
-----------------------------------------------
|
|
1078
|
-
PushType::WysiwygFieldTest: test_0003_anonymous
|
|
1079
|
-
-----------------------------------------------
|
|
1080
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1081
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1082
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1083
975
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1084
|
-
[1m[
|
|
1085
|
-
[1m[
|
|
1086
|
-
[1m[36m (0.1ms)[0m [
|
|
1087
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "
|
|
1088
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "push_type_nodes"
|
|
1089
|
-
SET "sort_order" = t.seq + -1
|
|
1090
|
-
FROM (
|
|
1091
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
|
1092
|
-
FROM "push_type_nodes"
|
|
1093
|
-
WHERE "parent_id" IS NULL
|
|
1094
|
-
) AS t
|
|
1095
|
-
WHERE "push_type_nodes"."id" = t.id
|
|
1096
|
-
[0m
|
|
1097
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.2ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "ac495665-0621-4818-86e1-b4e124aed72f"]]
|
|
1098
|
-
[1m[36mPushType::Node Load (0.3ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "ac495665-0621-4818-86e1-b4e124aed72f"]]
|
|
1099
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t80e5f02b58e77b1e6ae0b0409cdf35af
|
|
976
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "156"], ["created_at", "2016-01-08 13:24:38.578667"], ["updated_at", "2016-01-08 13:24:38.578667"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
977
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
978
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
979
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "157"], ["created_at", "2016-01-08 13:24:38.580600"], ["updated_at", "2016-01-08 13:24:38.580600"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1100
980
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1101
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1102
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1103
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1104
|
-
-----------------------------------------------
|
|
1105
|
-
PushType::WysiwygFieldTest: test_0005_anonymous
|
|
1106
|
-
-----------------------------------------------
|
|
1107
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1108
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1109
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1110
981
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1111
|
-
[1m[
|
|
1112
|
-
[1m[
|
|
1113
|
-
[1m[36m (0.1ms)[0m [
|
|
1114
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "
|
|
1115
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "push_type_nodes"
|
|
1116
|
-
SET "sort_order" = t.seq + -1
|
|
1117
|
-
FROM (
|
|
1118
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
|
1119
|
-
FROM "push_type_nodes"
|
|
1120
|
-
WHERE "parent_id" IS NULL
|
|
1121
|
-
) AS t
|
|
1122
|
-
WHERE "push_type_nodes"."id" = t.id
|
|
1123
|
-
[0m
|
|
1124
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "1e2e2739-da81-4208-9a51-5cebc9a932a5"]]
|
|
1125
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "1e2e2739-da81-4208-9a51-5cebc9a932a5"]]
|
|
1126
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS tb72c84459f2736625556ad2eb90433a1
|
|
982
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.621477"], ["updated_at", "2016-01-08 13:24:38.621477"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
983
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
984
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
985
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.623802"], ["updated_at", "2016-01-08 13:24:38.623802"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1127
986
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1128
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1129
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1130
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1131
|
-
-----------------------------------------------
|
|
1132
|
-
PushType::WysiwygFieldTest: test_0004_anonymous
|
|
1133
|
-
-----------------------------------------------
|
|
1134
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1135
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1136
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1137
987
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1138
|
-
[1m[
|
|
1139
|
-
[1m[
|
|
1140
|
-
[1m[36m (0.1ms)[0m [
|
|
1141
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "
|
|
1142
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
|
1143
|
-
SET "sort_order" = t.seq + -1
|
|
1144
|
-
FROM (
|
|
1145
|
-
SELECT "id" AS id, row_number() OVER(ORDER BY sort_order) AS seq
|
|
1146
|
-
FROM "push_type_nodes"
|
|
1147
|
-
WHERE "parent_id" IS NULL
|
|
1148
|
-
) AS t
|
|
1149
|
-
WHERE "push_type_nodes"."id" = t.id
|
|
1150
|
-
[0m
|
|
1151
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "23523a56-4078-4e1a-9dea-68390229f9c3"]]
|
|
1152
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "23523a56-4078-4e1a-9dea-68390229f9c3"]]
|
|
1153
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t2e91fa3c1b65d06ea57f894c2fb93849
|
|
988
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "160"], ["created_at", "2016-01-08 13:24:38.626252"], ["updated_at", "2016-01-08 13:24:38.626252"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
989
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
990
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
991
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "161"], ["created_at", "2016-01-08 13:24:38.628445"], ["updated_at", "2016-01-08 13:24:38.628445"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1154
992
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1155
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1156
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1157
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1158
|
-
-----------------------------------------------
|
|
1159
|
-
PushType::WysiwygFieldTest: test_0002_anonymous
|
|
1160
|
-
-----------------------------------------------
|
|
1161
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1162
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1163
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1164
993
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1165
|
-
[1m[
|
|
1166
|
-
[1m[
|
|
1167
|
-
[1m[36m (0.1ms)[0m [
|
|
1168
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "
|
|
1169
|
-
[1m[36m (0.
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
) AS t
|
|
1176
|
-
WHERE "push_type_nodes"."id" = t.id
|
|
1177
|
-
[0m
|
|
1178
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "3bacab20-b28b-4967-9936-164e80e82e2e"]]
|
|
1179
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "3bacab20-b28b-4967-9936-164e80e82e2e"]]
|
|
1180
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS td81ee097164031a283a56d67e51cba34
|
|
994
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "162"], ["created_at", "2016-01-08 13:24:38.631157"], ["updated_at", "2016-01-08 13:24:38.631157"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
995
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
996
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
997
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "163"], ["created_at", "2016-01-08 13:24:38.633813"], ["updated_at", "2016-01-08 13:24:38.633813"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
998
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
999
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1000
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "164"], ["created_at", "2016-01-08 13:24:38.636080"], ["updated_at", "2016-01-08 13:24:38.636080"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1001
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1002
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1003
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "165"], ["created_at", "2016-01-08 13:24:38.638218"], ["updated_at", "2016-01-08 13:24:38.638218"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1181
1004
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1182
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1183
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1184
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1185
|
-
-----------------------------------------------------------------------------------------
|
|
1186
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0001_anonymous
|
|
1187
|
-
-----------------------------------------------------------------------------------------
|
|
1188
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1189
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1190
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1191
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1192
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fb3f964dfe8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151108-11009-nx42q2>>}}
|
|
1193
1005
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1194
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1006
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "166"], ["created_at", "2016-01-08 13:24:38.640286"], ["updated_at", "2016-01-08 13:24:38.640286"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1195
1007
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1196
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
1197
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1198
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1199
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1200
|
-
-----------------------------------------------------------------------------------------
|
|
1201
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0002_anonymous
|
|
1202
|
-
-----------------------------------------------------------------------------------------
|
|
1203
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1204
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1205
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1206
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1207
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fb3fb9f1c38 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151108-11009-1w6kfct>>}}
|
|
1208
1008
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1209
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1009
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "167"], ["created_at", "2016-01-08 13:24:38.642535"], ["updated_at", "2016-01-08 13:24:38.642535"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1210
1010
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1211
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
1212
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1213
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1214
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1215
|
-
-----------------------------------------------------------------------------------------
|
|
1216
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0003_anonymous
|
|
1217
|
-
-----------------------------------------------------------------------------------------
|
|
1218
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1219
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1220
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1221
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1222
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fb3fba39678 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20151108-11009-xj08bg>>}}
|
|
1223
1011
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
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", "
|
|
1012
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "168"], ["created_at", "2016-01-08 13:24:38.644978"], ["updated_at", "2016-01-08 13:24:38.644978"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1225
1013
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1226
|
-
|
|
1014
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1015
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "169"], ["created_at", "2016-01-08 13:24:38.647278"], ["updated_at", "2016-01-08 13:24:38.647278"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1016
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1017
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1018
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "170"], ["created_at", "2016-01-08 13:24:38.649458"], ["updated_at", "2016-01-08 13:24:38.649458"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1019
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1020
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1021
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
|
1022
|
+
[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
|
|
1023
|
+
[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/%')
|
|
1024
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
|
1227
1025
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1228
1026
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1229
1027
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1230
|
-
|
|
1231
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
|
1232
|
-
|
|
1233
|
-
[1m[35m (0.
|
|
1028
|
+
--------------------------------------------------------------------------------------
|
|
1029
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0001_anonymous
|
|
1030
|
+
--------------------------------------------------------------------------------------
|
|
1031
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1234
1032
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1235
1033
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1236
1034
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1237
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1035
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "171"], ["created_at", "2016-01-08 13:24:38.657859"], ["updated_at", "2016-01-08 13:24:38.657859"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1238
1036
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1239
1037
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1240
|
-
[1m[36mSQL (0.
|
|
1038
|
+
[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", "172"], ["created_at", "2016-01-08 13:24:38.660338"], ["updated_at", "2016-01-08 13:24:38.660338"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1241
1039
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1242
1040
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1243
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1041
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "173"], ["created_at", "2016-01-08 13:24:38.662549"], ["updated_at", "2016-01-08 13:24:38.662549"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1244
1042
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1245
1043
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1246
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1044
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "174"], ["created_at", "2016-01-08 13:24:38.665012"], ["updated_at", "2016-01-08 13:24:38.665012"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1247
1045
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1248
1046
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1249
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1047
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "175"], ["created_at", "2016-01-08 13:24:38.668726"], ["updated_at", "2016-01-08 13:24:38.668726"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1250
1048
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1251
1049
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1252
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1050
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "176"], ["created_at", "2016-01-08 13:24:38.671202"], ["updated_at", "2016-01-08 13:24:38.671202"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1253
1051
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1254
1052
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1255
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1053
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.673707"], ["updated_at", "2016-01-08 13:24:38.673707"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1256
1054
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1257
1055
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1258
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1056
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "178"], ["created_at", "2016-01-08 13:24:38.676154"], ["updated_at", "2016-01-08 13:24:38.676154"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1259
1057
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1260
1058
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1261
|
-
[1m[35mSQL (0.
|
|
1059
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.678819"], ["updated_at", "2016-01-08 13:24:38.678819"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1262
1060
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1263
1061
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1264
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1062
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.681324"], ["updated_at", "2016-01-08 13:24:38.681324"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1265
1063
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1266
1064
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1267
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1065
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.683586"], ["updated_at", "2016-01-08 13:24:38.683586"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1268
1066
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1269
|
-
[1m[35m (0.
|
|
1270
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1067
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
|
|
1068
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "182"], ["created_at", "2016-01-08 13:24:38.685914"], ["updated_at", "2016-01-08 13:24:38.685914"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1271
1069
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1272
1070
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1273
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1071
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "183"], ["created_at", "2016-01-08 13:24:38.689026"], ["updated_at", "2016-01-08 13:24:38.689026"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1274
1072
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1275
1073
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1276
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1074
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "184"], ["created_at", "2016-01-08 13:24:38.691519"], ["updated_at", "2016-01-08 13:24:38.691519"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1277
1075
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1278
1076
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1279
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1077
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "185"], ["created_at", "2016-01-08 13:24:38.693886"], ["updated_at", "2016-01-08 13:24:38.693886"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1280
1078
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1281
1079
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1282
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1080
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "186"], ["created_at", "2016-01-08 13:24:38.696030"], ["updated_at", "2016-01-08 13:24:38.696030"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1283
1081
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1284
1082
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1285
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "187"], ["created_at", "2016-01-08 13:24:38.698017"], ["updated_at", "2016-01-08 13:24:38.698017"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1286
1084
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1287
1085
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1288
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["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", "document.pdf"], ["file_size", 15356], ["file_uid", "188"], ["created_at", "2016-01-08 13:24:38.700323"], ["updated_at", "2016-01-08 13:24:38.700323"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1289
1087
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1290
1088
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1291
|
-
Parameters: {"filter"=>"file"}
|
|
1292
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET
|
|
1089
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
|
1090
|
+
[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
|
|
1293
1091
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
1294
|
-
Completed 200 OK in
|
|
1092
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
1295
1093
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1296
1094
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1297
1095
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1298
|
-
|
|
1299
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
|
1300
|
-
|
|
1301
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1302
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1096
|
+
--------------------------------------------------------------------------------------
|
|
1097
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0004_anonymous
|
|
1098
|
+
--------------------------------------------------------------------------------------
|
|
1303
1099
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1100
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1101
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1304
1102
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1305
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1103
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "189"], ["created_at", "2016-01-08 13:24:38.707772"], ["updated_at", "2016-01-08 13:24:38.707772"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1306
1104
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1307
1105
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1308
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1106
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "190"], ["created_at", "2016-01-08 13:24:38.710032"], ["updated_at", "2016-01-08 13:24:38.710032"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1309
1107
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1310
1108
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1311
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1109
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "191"], ["created_at", "2016-01-08 13:24:38.712308"], ["updated_at", "2016-01-08 13:24:38.712308"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1312
1110
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1313
1111
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1314
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1112
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "192"], ["created_at", "2016-01-08 13:24:38.714382"], ["updated_at", "2016-01-08 13:24:38.714382"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1315
1113
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1316
1114
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1317
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1115
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "193"], ["created_at", "2016-01-08 13:24:38.716492"], ["updated_at", "2016-01-08 13:24:38.716492"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1318
1116
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1319
1117
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1320
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1118
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.718792"], ["updated_at", "2016-01-08 13:24:38.718792"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1321
1119
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1322
1120
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1323
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1121
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.720993"], ["updated_at", "2016-01-08 13:24:38.720993"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1324
1122
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1325
1123
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1326
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1124
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.723249"], ["updated_at", "2016-01-08 13:24:38.723249"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1327
1125
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1328
1126
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1329
|
-
[1m[35mSQL (0.
|
|
1127
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.725325"], ["updated_at", "2016-01-08 13:24:38.725325"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1330
1128
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1331
1129
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1332
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1130
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.727448"], ["updated_at", "2016-01-08 13:24:38.727448"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1333
1131
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1334
1132
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1335
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1133
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.729810"], ["updated_at", "2016-01-08 13:24:38.729810"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1336
1134
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1337
1135
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1338
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1136
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "200"], ["created_at", "2016-01-08 13:24:38.731899"], ["updated_at", "2016-01-08 13:24:38.731899"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1339
1137
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1340
1138
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1341
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1139
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "201"], ["created_at", "2016-01-08 13:24:38.735116"], ["updated_at", "2016-01-08 13:24:38.735116"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1342
1140
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1343
1141
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1344
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1142
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "202"], ["created_at", "2016-01-08 13:24:38.737190"], ["updated_at", "2016-01-08 13:24:38.737190"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1345
1143
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1346
1144
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1347
|
-
[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", "
|
|
1145
|
+
[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", "203"], ["created_at", "2016-01-08 13:24:38.739202"], ["updated_at", "2016-01-08 13:24:38.739202"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1348
1146
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1349
1147
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1350
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1148
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "204"], ["created_at", "2016-01-08 13:24:38.741645"], ["updated_at", "2016-01-08 13:24:38.741645"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1351
1149
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1352
1150
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1353
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1151
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.744105"], ["updated_at", "2016-01-08 13:24:38.744105"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1354
1152
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1355
1153
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1356
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1154
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.746367"], ["updated_at", "2016-01-08 13:24:38.746367"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1357
1155
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1358
1156
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1359
|
-
Parameters: {"filter"=>"file"}
|
|
1360
|
-
[1m[36mPushType::Asset Load (0.
|
|
1361
|
-
[1m[35m (0.
|
|
1362
|
-
Completed 200 OK in
|
|
1157
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
|
1158
|
+
[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
|
|
1159
|
+
[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/%')
|
|
1160
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
1363
1161
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1364
1162
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1365
1163
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1366
|
-
|
|
1367
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
|
1368
|
-
|
|
1369
|
-
[1m[35m (0.
|
|
1164
|
+
--------------------------------------------------------------------------------------
|
|
1165
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0003_anonymous
|
|
1166
|
+
--------------------------------------------------------------------------------------
|
|
1167
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1370
1168
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1371
1169
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1372
1170
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1373
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1171
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "207"], ["created_at", "2016-01-08 13:24:38.753647"], ["updated_at", "2016-01-08 13:24:38.753647"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1374
1172
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1375
1173
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1376
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1174
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "208"], ["created_at", "2016-01-08 13:24:38.756159"], ["updated_at", "2016-01-08 13:24:38.756159"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1377
1175
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1378
1176
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1379
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1177
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "209"], ["created_at", "2016-01-08 13:24:38.758360"], ["updated_at", "2016-01-08 13:24:38.758360"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1380
1178
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1381
1179
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1382
|
-
[1m[36mSQL (0.
|
|
1180
|
+
[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", "210"], ["created_at", "2016-01-08 13:24:38.760611"], ["updated_at", "2016-01-08 13:24:38.760611"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1383
1181
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1384
1182
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1385
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1183
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "211"], ["created_at", "2016-01-08 13:24:38.763735"], ["updated_at", "2016-01-08 13:24:38.763735"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1386
1184
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1387
1185
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1388
|
-
[1m[36mSQL (0.
|
|
1186
|
+
[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", "212"], ["created_at", "2016-01-08 13:24:38.766054"], ["updated_at", "2016-01-08 13:24:38.766054"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1389
1187
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1390
1188
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1391
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1189
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.768510"], ["updated_at", "2016-01-08 13:24:38.768510"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1392
1190
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1393
1191
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1394
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1192
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.770700"], ["updated_at", "2016-01-08 13:24:38.770700"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1395
1193
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1396
1194
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1397
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1195
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.772861"], ["updated_at", "2016-01-08 13:24:38.772861"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1398
1196
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1399
1197
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1400
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1198
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "216"], ["created_at", "2016-01-08 13:24:38.774964"], ["updated_at", "2016-01-08 13:24:38.774964"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1401
1199
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1402
1200
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1403
|
-
[1m[35mSQL (0.
|
|
1201
|
+
[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", "217"], ["created_at", "2016-01-08 13:24:38.777278"], ["updated_at", "2016-01-08 13:24:38.777278"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1404
1202
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1405
1203
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1406
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1204
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "218"], ["created_at", "2016-01-08 13:24:38.780613"], ["updated_at", "2016-01-08 13:24:38.780613"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1407
1205
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1408
1206
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1409
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1207
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "219"], ["created_at", "2016-01-08 13:24:38.782923"], ["updated_at", "2016-01-08 13:24:38.782923"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1410
1208
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1411
1209
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1412
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1210
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "220"], ["created_at", "2016-01-08 13:24:38.785032"], ["updated_at", "2016-01-08 13:24:38.785032"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1413
1211
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1414
1212
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1415
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1213
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "221"], ["created_at", "2016-01-08 13:24:38.787432"], ["updated_at", "2016-01-08 13:24:38.787432"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1416
1214
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1417
1215
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1418
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1216
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "222"], ["created_at", "2016-01-08 13:24:38.789876"], ["updated_at", "2016-01-08 13:24:38.789876"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1419
1217
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1420
1218
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1421
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1219
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "223"], ["created_at", "2016-01-08 13:24:38.792205"], ["updated_at", "2016-01-08 13:24:38.792205"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1422
1220
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1423
1221
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1424
|
-
[1m[36mSQL (0.
|
|
1222
|
+
[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", "224"], ["created_at", "2016-01-08 13:24:38.795037"], ["updated_at", "2016-01-08 13:24:38.795037"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1425
1223
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1426
1224
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1427
|
-
Parameters: {"filter"=>"file"}
|
|
1428
|
-
[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
|
|
1429
|
-
[1m[35m (0.
|
|
1430
|
-
Completed 200 OK in
|
|
1225
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
|
1226
|
+
[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
|
|
1227
|
+
[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/%')
|
|
1228
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
|
1431
1229
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1432
1230
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1433
1231
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1434
|
-
|
|
1435
|
-
PushType::
|
|
1436
|
-
|
|
1232
|
+
---------------------------------------------------------------------------
|
|
1233
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0002_anonymous
|
|
1234
|
+
---------------------------------------------------------------------------
|
|
1235
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1236
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1437
1237
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1238
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1239
|
+
[1m[35mSQL (0.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", "225"], ["created_at", "2016-01-08 13:24:38.804862"], ["updated_at", "2016-01-08 13:24:38.804862"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1240
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1241
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1242
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "226"], ["created_at", "2016-01-08 13:24:38.807451"], ["updated_at", "2016-01-08 13:24:38.807451"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1243
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1244
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1245
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.809918"], ["updated_at", "2016-01-08 13:24:38.809918"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1246
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1247
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1248
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "228"], ["created_at", "2016-01-08 13:24:38.813262"], ["updated_at", "2016-01-08 13:24:38.813262"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1249
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1250
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1251
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1252
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1253
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1254
|
+
---------------------------------------------------------------------------
|
|
1255
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0001_anonymous
|
|
1256
|
+
---------------------------------------------------------------------------
|
|
1257
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1258
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1259
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1260
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1261
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "229"], ["created_at", "2016-01-08 13:24:38.818440"], ["updated_at", "2016-01-08 13:24:38.818440"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1262
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1263
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1264
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "230"], ["created_at", "2016-01-08 13:24:38.820566"], ["updated_at", "2016-01-08 13:24:38.820566"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1265
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1266
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1267
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "231"], ["created_at", "2016-01-08 13:24:38.822739"], ["updated_at", "2016-01-08 13:24:38.822739"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1268
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1269
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1270
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "232"], ["created_at", "2016-01-08 13:24:38.825241"], ["updated_at", "2016-01-08 13:24:38.825241"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1271
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1272
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
1273
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1274
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1275
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1276
|
+
---------------------------------------------------------------------------
|
|
1277
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0004_anonymous
|
|
1278
|
+
---------------------------------------------------------------------------
|
|
1279
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1438
1280
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1281
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1282
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1283
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "233"], ["created_at", "2016-01-08 13:24:38.830900"], ["updated_at", "2016-01-08 13:24:38.830900"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1284
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1285
|
+
[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", "image.png"], ["file_size", 2643], ["file_uid", "234"], ["created_at", "2016-01-08 13:24:38.833282"], ["updated_at", "2016-01-08 13:24:38.833282"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1287
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1288
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1289
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "235"], ["created_at", "2016-01-08 13:24:38.835763"], ["updated_at", "2016-01-08 13:24:38.835763"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1290
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1291
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1292
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.838199"], ["updated_at", "2016-01-08 13:24:38.838199"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1293
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1294
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1295
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1296
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1297
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1298
|
+
---------------------------------------------------------------------------
|
|
1299
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0003_anonymous
|
|
1300
|
+
---------------------------------------------------------------------------
|
|
1301
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1302
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1303
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1304
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1305
|
+
[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", "237"], ["created_at", "2016-01-08 13:24:38.842846"], ["updated_at", "2016-01-08 13:24:38.842846"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1306
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1307
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1308
|
+
[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", "2016-01-08 13:24:38.846451"], ["updated_at", "2016-01-08 13:24:38.846451"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1309
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1310
|
+
[1m[35m (0.1ms)[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", "239"], ["created_at", "2016-01-08 13:24:38.849320"], ["updated_at", "2016-01-08 13:24:38.849320"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1312
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1313
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1314
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.851556"], ["updated_at", "2016-01-08 13:24:38.851556"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1315
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1316
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
1317
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1318
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1319
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1320
|
+
---------------------------------------------------------------------------
|
|
1321
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0005_anonymous
|
|
1322
|
+
---------------------------------------------------------------------------
|
|
1323
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1324
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1439
1325
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1440
1326
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1441
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "241"], ["created_at", "2016-01-08 13:24:38.856245"], ["updated_at", "2016-01-08 13:24:38.856245"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1328
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1329
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1330
|
+
[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", "242"], ["created_at", "2016-01-08 13:24:38.858853"], ["updated_at", "2016-01-08 13:24:38.858853"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1331
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1332
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1333
|
+
[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", "243"], ["created_at", "2016-01-08 13:24:38.861764"], ["updated_at", "2016-01-08 13:24:38.861764"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1334
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1335
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1336
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "244"], ["created_at", "2016-01-08 13:24:38.864772"], ["updated_at", "2016-01-08 13:24:38.864772"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1337
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1338
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1339
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1340
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1341
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1342
|
+
---------------------------------------------------------------------------
|
|
1343
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0003_anonymous
|
|
1344
|
+
---------------------------------------------------------------------------
|
|
1345
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1346
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1347
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1348
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1349
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.871757"], ["updated_at", "2016-01-08 13:24:38.871757"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1350
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1351
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1352
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.874170"], ["updated_at", "2016-01-08 13:24:38.874170"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1353
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1354
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1355
|
+
[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", "247"], ["created_at", "2016-01-08 13:24:38.877024"], ["updated_at", "2016-01-08 13:24:38.877024"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1356
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1357
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1358
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.880725"], ["updated_at", "2016-01-08 13:24:38.880725"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1359
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1360
|
+
[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
|
|
1361
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1362
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1363
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1364
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1365
|
+
---------------------------------------------------------------------------
|
|
1366
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0001_anonymous
|
|
1367
|
+
---------------------------------------------------------------------------
|
|
1368
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1369
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1370
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1371
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1372
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.887194"], ["updated_at", "2016-01-08 13:24:38.887194"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1373
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1374
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1375
|
+
[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", "250"], ["created_at", "2016-01-08 13:24:38.889679"], ["updated_at", "2016-01-08 13:24:38.889679"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1442
1376
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1443
1377
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1444
|
-
[1m[36mSQL (0.
|
|
1378
|
+
[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", "251"], ["created_at", "2016-01-08 13:24:38.892272"], ["updated_at", "2016-01-08 13:24:38.892272"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1445
1379
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1446
1380
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1447
|
-
[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", "252"], ["created_at", "
|
|
1381
|
+
[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", "252"], ["created_at", "2016-01-08 13:24:38.895502"], ["updated_at", "2016-01-08 13:24:38.895502"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1448
1382
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1383
|
+
[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
|
|
1384
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1385
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1386
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1387
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1388
|
+
---------------------------------------------------------------------------
|
|
1389
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0005_anonymous
|
|
1390
|
+
---------------------------------------------------------------------------
|
|
1391
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1392
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1393
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1449
1394
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1450
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "253"], ["created_at", "
|
|
1395
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.902551"], ["updated_at", "2016-01-08 13:24:38.902551"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1451
1396
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1452
1397
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1453
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "254"], ["created_at", "
|
|
1398
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.905078"], ["updated_at", "2016-01-08 13:24:38.905078"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1454
1399
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1455
1400
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1456
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1401
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.907064"], ["updated_at", "2016-01-08 13:24:38.907064"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1457
1402
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1458
1403
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1459
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1404
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.908967"], ["updated_at", "2016-01-08 13:24:38.908967"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1460
1405
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1406
|
+
[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
|
|
1407
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1408
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1409
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1410
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1411
|
+
---------------------------------------------------------------------------
|
|
1412
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0004_anonymous
|
|
1413
|
+
---------------------------------------------------------------------------
|
|
1414
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1415
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1416
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1461
1417
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1462
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1418
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "257"], ["created_at", "2016-01-08 13:24:38.916066"], ["updated_at", "2016-01-08 13:24:38.916066"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1463
1419
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1464
1420
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1465
|
-
[1m[35mSQL (0.
|
|
1421
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "258"], ["created_at", "2016-01-08 13:24:38.918229"], ["updated_at", "2016-01-08 13:24:38.918229"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1466
1422
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1467
1423
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1468
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1424
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "259"], ["created_at", "2016-01-08 13:24:38.920284"], ["updated_at", "2016-01-08 13:24:38.920284"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1469
1425
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1470
1426
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1471
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1427
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.922384"], ["updated_at", "2016-01-08 13:24:38.922384"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1472
1428
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1429
|
+
[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
|
|
1430
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1431
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1432
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1433
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1434
|
+
---------------------------------------------------------------------------
|
|
1435
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0002_anonymous
|
|
1436
|
+
---------------------------------------------------------------------------
|
|
1437
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1438
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1439
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1473
1440
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1474
|
-
[1m[36mSQL (0.
|
|
1441
|
+
[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", "261"], ["created_at", "2016-01-08 13:24:38.928765"], ["updated_at", "2016-01-08 13:24:38.928765"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1475
1442
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1476
1443
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1477
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1444
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.931594"], ["updated_at", "2016-01-08 13:24:38.931594"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1478
1445
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1479
1446
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1480
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
|
1447
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.933628"], ["updated_at", "2016-01-08 13:24:38.933628"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1481
1448
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1482
1449
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1483
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1484
|
-
[1m[36m (0.
|
|
1450
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.935982"], ["updated_at", "2016-01-08 13:24:38.935982"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1451
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1452
|
+
[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
|
|
1453
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1454
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1455
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1456
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1457
|
+
-----------------------------------------------------------------------------------------
|
|
1458
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0003_anonymous
|
|
1459
|
+
-----------------------------------------------------------------------------------------
|
|
1460
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1461
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1462
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1463
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1464
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f979bfc80c0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160108-6378-1xwrrlh>>}}
|
|
1485
1465
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1486
|
-
[1m[36mSQL (0.
|
|
1466
|
+
[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", "265"], ["created_at", "2016-01-08 13:24:38.944407"], ["updated_at", "2016-01-08 13:24:38.944407"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1487
1467
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1468
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
1469
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1470
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1471
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1472
|
+
-----------------------------------------------------------------------------------------
|
|
1473
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0002_anonymous
|
|
1474
|
+
-----------------------------------------------------------------------------------------
|
|
1475
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1476
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1477
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1478
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1479
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f97a3063ac8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160108-6378-17miz1p>>}}
|
|
1488
1480
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1489
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
|
1481
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2016-01-08 13:24:38.951111"], ["updated_at", "2016-01-08 13:24:38.951111"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1490
1482
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1483
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
1484
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1485
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1486
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1487
|
+
-----------------------------------------------------------------------------------------
|
|
1488
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0001_anonymous
|
|
1489
|
+
-----------------------------------------------------------------------------------------
|
|
1490
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1491
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1492
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1493
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1494
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f97a307b538 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160108-6378-1fe44c5>>}}
|
|
1491
1495
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1492
|
-
[1m[36mSQL (0.
|
|
1496
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2016-01-08 13:24:38.956523"], ["updated_at", "2016-01-08 13:24:38.956523"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1493
1497
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1494
|
-
|
|
1495
|
-
Parameters: {"filter"=>"file"}
|
|
1496
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
|
1497
|
-
[1m[35m (16.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
1498
|
-
Completed 200 OK in 28ms (Views: 1.0ms | ActiveRecord: 16.5ms)
|
|
1498
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
1499
1499
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1500
1500
|
[1m[35m (0.1ms)[0m ROLLBACK
|