push_type_wysiwyg 0.2.0.beta2
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 +7 -0
- data/LICENSE.md +20 -0
- data/README.md +3 -0
- data/app/assets/javascripts/push_type/froala_overrides/file_upload.js +133 -0
- data/app/assets/javascripts/push_type/froala_overrides/froala_editor.js +34 -0
- data/app/assets/javascripts/push_type/froala_overrides/image_editor.js +215 -0
- data/app/assets/javascripts/push_type/froala_overrides/media_manager.js +184 -0
- data/app/assets/javascripts/push_type/media_styles.js.coffee.erb +5 -0
- data/app/assets/javascripts/push_type/wysiwyg.js.coffee +50 -0
- data/app/assets/stylesheets/push_type/froala_overrides.scss +77 -0
- data/app/assets/stylesheets/push_type/pt_theme.scss +373 -0
- data/app/assets/stylesheets/push_type/wysiwyg.scss +36 -0
- data/app/controllers/push_type/wysiwyg_media_controller.rb +43 -0
- data/app/fields/push_type/wysiwyg_field.rb +10 -0
- data/app/helpers/push_type/wysiwyg_media_helper.rb +34 -0
- data/config/routes.rb +3 -0
- data/lib/push_type/wysiwyg/engine.rb +16 -0
- data/lib/push_type/wysiwyg.rb +14 -0
- data/lib/push_type_wysiwyg.rb +2 -0
- data/lib/tasks/push_type_tasks.rake +4 -0
- data/test/controllers/push_type/wysiwyg_media_controller_test.rb +58 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +16 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/page.rb +10 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/nodes/page.html.erb +3 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +14 -0
- data/test/dummy/config/boot.rb +4 -0
- data/test/dummy/config/database.yml +85 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/push_type.rb +15 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +59 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/migrate/20150208150336_create_push_type_users.push_type.rb +13 -0
- data/test/dummy/db/migrate/20150208150337_create_push_type_nodes.push_type.rb +25 -0
- data/test/dummy/db/migrate/20150208150338_create_push_type_node_hierarchies.push_type.rb +17 -0
- data/test/dummy/db/migrate/20150208150339_create_push_type_assets.push_type.rb +19 -0
- data/test/dummy/db/schema.rb +67 -0
- data/test/dummy/db/seeds.rb +7 -0
- data/test/dummy/log/test.log +1309 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0a170bcd46595a69e9181ea5eb52ec6f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/853c1095ab6e7f4eba1f3406f0f3bba6 +0 -0
- data/test/helpers/push_type/wysiwyg_media_helper_test.rb +41 -0
- data/test/models/push_type/wysiwyg_field_test.rb +9 -0
- data/test/test_helper.rb +21 -0
- data/vendor/assets/javascripts/jquery.simplePagination.js +334 -0
- metadata +252 -0
@@ -0,0 +1,1309 @@
|
|
1
|
+
[1m[36m (4.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
Migrating to CreatePushTypeUsers (20150208150336)
|
5
|
+
[1m[35m (0.1ms)[0m BEGIN
|
6
|
+
[1m[36mSQL (1.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp, "updated_at" timestamp)
|
8
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150208150336"]]
|
9
|
+
[1m[35m (0.5ms)[0m COMMIT
|
10
|
+
Migrating to CreatePushTypeNodes (20150208150337)
|
11
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
13
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150208150337"]]
|
14
|
+
[1m[35m (0.3ms)[0m COMMIT
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150208150338)
|
16
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
18
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
19
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150208150338"]]
|
21
|
+
[1m[35m (0.3ms)[0m COMMIT
|
22
|
+
Migrating to CreatePushTypeAssets (20150208150339)
|
23
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
24
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
|
25
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150208150339"]]
|
26
|
+
[1m[35m (0.3ms)[0m COMMIT
|
27
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28
|
+
[1m[35m (1.6ms)[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
|
29
|
+
FROM pg_constraint c
|
30
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
31
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
32
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
33
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
34
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
35
|
+
WHERE c.contype = 'f'
|
36
|
+
AND t1.relname = 'push_type_assets'
|
37
|
+
AND t3.nspname = ANY (current_schemas(false))
|
38
|
+
ORDER BY c.conname
|
39
|
+
|
40
|
+
[1m[36m (1.2ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
41
|
+
FROM pg_constraint c
|
42
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
43
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
44
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
45
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
46
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
47
|
+
WHERE c.contype = 'f'
|
48
|
+
AND t1.relname = 'push_type_node_hierarchies'
|
49
|
+
AND t3.nspname = ANY (current_schemas(false))
|
50
|
+
ORDER BY c.conname
|
51
|
+
[0m
|
52
|
+
[1m[35m (1.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
53
|
+
FROM pg_constraint c
|
54
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
55
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
56
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
57
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
58
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
59
|
+
WHERE c.contype = 'f'
|
60
|
+
AND t1.relname = 'push_type_nodes'
|
61
|
+
AND t3.nspname = ANY (current_schemas(false))
|
62
|
+
ORDER BY c.conname
|
63
|
+
|
64
|
+
[1m[36m (1.2ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
65
|
+
FROM pg_constraint c
|
66
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
67
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
68
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
69
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
70
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
71
|
+
WHERE c.contype = 'f'
|
72
|
+
AND t1.relname = 'push_type_users'
|
73
|
+
AND t3.nspname = ANY (current_schemas(false))
|
74
|
+
ORDER BY c.conname
|
75
|
+
[0m
|
76
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
77
|
+
[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_assets" DISABLE TRIGGER ALL
|
78
|
+
[1m[36m (1.1ms)[0m [1mselect table_name from information_schema.views where table_schema = 'dummy_test'[0m
|
79
|
+
[1m[35m (5.1ms)[0m TRUNCATE TABLE "push_type_users", "push_type_nodes", "push_type_node_hierarchies", "push_type_assets" RESTART IDENTITY CASCADE;
|
80
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" 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[0m
|
81
|
+
[1m[35m (0.1ms)[0m BEGIN
|
82
|
+
--------------------------------------------------------------------------------------
|
83
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0001_anonymous
|
84
|
+
--------------------------------------------------------------------------------------
|
85
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
89
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "1"], ["created_at", "2015-02-08 15:03:41.292486"], ["updated_at", "2015-02-08 15:03:41.292486"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
90
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
91
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
92
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-02-08 15:03:41.298005"], ["updated_at", "2015-02-08 15:03:41.298005"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
93
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
94
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
95
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "3"], ["created_at", "2015-02-08 15:03:41.300643"], ["updated_at", "2015-02-08 15:03:41.300643"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
96
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
97
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
98
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015-02-08 15:03:41.303161"], ["updated_at", "2015-02-08 15:03:41.303161"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
99
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
100
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
101
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "5"], ["created_at", "2015-02-08 15:03:41.305782"], ["updated_at", "2015-02-08 15:03:41.305782"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
102
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
103
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
104
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "6"], ["created_at", "2015-02-08 15:03:41.308478"], ["updated_at", "2015-02-08 15:03:41.308478"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
105
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
106
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
107
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "7"], ["created_at", "2015-02-08 15:03:41.311196"], ["updated_at", "2015-02-08 15:03:41.311196"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
108
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
109
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
110
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "8"], ["created_at", "2015-02-08 15:03:41.313916"], ["updated_at", "2015-02-08 15:03:41.313916"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
111
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
112
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
113
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "9"], ["created_at", "2015-02-08 15:03:41.316620"], ["updated_at", "2015-02-08 15:03:41.316620"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
114
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
115
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
116
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "10"], ["created_at", "2015-02-08 15:03:41.319123"], ["updated_at", "2015-02-08 15:03:41.319123"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
117
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
118
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
119
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "11"], ["created_at", "2015-02-08 15:03:41.321543"], ["updated_at", "2015-02-08 15:03:41.321543"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
120
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
121
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
122
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "12"], ["created_at", "2015-02-08 15:03:41.324230"], ["updated_at", "2015-02-08 15:03:41.324230"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
123
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
124
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
125
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "13"], ["created_at", "2015-02-08 15:03:41.326738"], ["updated_at", "2015-02-08 15:03:41.326738"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
126
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
127
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
128
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "14"], ["created_at", "2015-02-08 15:03:41.329366"], ["updated_at", "2015-02-08 15:03:41.329366"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
129
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
130
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
131
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "15"], ["created_at", "2015-02-08 15:03:41.331966"], ["updated_at", "2015-02-08 15:03:41.331966"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
132
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
133
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
134
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "16"], ["created_at", "2015-02-08 15:03:41.334485"], ["updated_at", "2015-02-08 15:03:41.334485"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
135
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
136
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
137
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "17"], ["created_at", "2015-02-08 15:03:41.337054"], ["updated_at", "2015-02-08 15:03:41.337054"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
138
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
139
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
140
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "18"], ["created_at", "2015-02-08 15:03:41.339741"], ["updated_at", "2015-02-08 15:03:41.339741"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
141
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
142
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
143
|
+
Parameters: {"filter"=>"file"}
|
144
|
+
[1m[35mPushType::Asset Load (0.7ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
145
|
+
[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
|
146
|
+
Completed 200 OK in 49ms (Views: 0.8ms | ActiveRecord: 1.0ms)
|
147
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
148
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
149
|
+
[1m[35m (0.1ms)[0m BEGIN
|
150
|
+
--------------------------------------------------------------------------------------
|
151
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0002_anonymous
|
152
|
+
--------------------------------------------------------------------------------------
|
153
|
+
[1m[36m (0.0ms)[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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
157
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "19"], ["created_at", "2015-02-08 15:03:41.398897"], ["updated_at", "2015-02-08 15:03:41.398897"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
158
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
159
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
160
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "20"], ["created_at", "2015-02-08 15:03:41.401552"], ["updated_at", "2015-02-08 15:03:41.401552"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
161
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
162
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
163
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "21"], ["created_at", "2015-02-08 15:03:41.403979"], ["updated_at", "2015-02-08 15:03:41.403979"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
164
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
165
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
166
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "22"], ["created_at", "2015-02-08 15:03:41.406413"], ["updated_at", "2015-02-08 15:03:41.406413"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
167
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
168
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
169
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "23"], ["created_at", "2015-02-08 15:03:41.408981"], ["updated_at", "2015-02-08 15:03:41.408981"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
170
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
171
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
172
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "24"], ["created_at", "2015-02-08 15:03:41.411544"], ["updated_at", "2015-02-08 15:03:41.411544"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
173
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
174
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
175
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "25"], ["created_at", "2015-02-08 15:03:41.414018"], ["updated_at", "2015-02-08 15:03:41.414018"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
176
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
177
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
178
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "26"], ["created_at", "2015-02-08 15:03:41.416483"], ["updated_at", "2015-02-08 15:03:41.416483"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
179
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
181
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "27"], ["created_at", "2015-02-08 15:03:41.419104"], ["updated_at", "2015-02-08 15:03:41.419104"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
182
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
183
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
184
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "28"], ["created_at", "2015-02-08 15:03:41.421655"], ["updated_at", "2015-02-08 15:03:41.421655"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
185
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
186
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
187
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "29"], ["created_at", "2015-02-08 15:03:41.424248"], ["updated_at", "2015-02-08 15:03:41.424248"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
188
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
189
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
190
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "30"], ["created_at", "2015-02-08 15:03:41.426679"], ["updated_at", "2015-02-08 15:03:41.426679"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
191
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
192
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
193
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "31"], ["created_at", "2015-02-08 15:03:41.429099"], ["updated_at", "2015-02-08 15:03:41.429099"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
194
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
195
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
196
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "32"], ["created_at", "2015-02-08 15:03:41.431858"], ["updated_at", "2015-02-08 15:03:41.431858"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
197
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
198
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
199
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "33"], ["created_at", "2015-02-08 15:03:41.434513"], ["updated_at", "2015-02-08 15:03:41.434513"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
200
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
201
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
202
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "34"], ["created_at", "2015-02-08 15:03:41.436952"], ["updated_at", "2015-02-08 15:03:41.436952"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
203
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "35"], ["created_at", "2015-02-08 15:03:41.439508"], ["updated_at", "2015-02-08 15:03:41.439508"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
206
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
207
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
208
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2015-02-08 15:03:41.442061"], ["updated_at", "2015-02-08 15:03:41.442061"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
209
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
210
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
211
|
+
Parameters: {"filter"=>"file"}
|
212
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
213
|
+
[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
|
214
|
+
Completed 200 OK in 13ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
215
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
216
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
217
|
+
[1m[35m (0.1ms)[0m BEGIN
|
218
|
+
--------------------------------------------------------------------------------------
|
219
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0003_anonymous
|
220
|
+
--------------------------------------------------------------------------------------
|
221
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
222
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
223
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
224
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
225
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "37"], ["created_at", "2015-02-08 15:03:41.463998"], ["updated_at", "2015-02-08 15:03:41.463998"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
226
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
227
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
228
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "38"], ["created_at", "2015-02-08 15:03:41.466705"], ["updated_at", "2015-02-08 15:03:41.466705"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
229
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
230
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "39"], ["created_at", "2015-02-08 15:03:41.469195"], ["updated_at", "2015-02-08 15:03:41.469195"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
232
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
233
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
234
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "40"], ["created_at", "2015-02-08 15:03:41.471708"], ["updated_at", "2015-02-08 15:03:41.471708"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
235
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
236
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
237
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "41"], ["created_at", "2015-02-08 15:03:41.474245"], ["updated_at", "2015-02-08 15:03:41.474245"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
238
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
239
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
240
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "42"], ["created_at", "2015-02-08 15:03:41.476832"], ["updated_at", "2015-02-08 15:03:41.476832"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
241
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
242
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
243
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "43"], ["created_at", "2015-02-08 15:03:41.479366"], ["updated_at", "2015-02-08 15:03:41.479366"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
244
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
245
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
246
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "44"], ["created_at", "2015-02-08 15:03:41.481920"], ["updated_at", "2015-02-08 15:03:41.481920"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "45"], ["created_at", "2015-02-08 15:03:41.484385"], ["updated_at", "2015-02-08 15:03:41.484385"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "46"], ["created_at", "2015-02-08 15:03:41.486909"], ["updated_at", "2015-02-08 15:03:41.486909"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "47"], ["created_at", "2015-02-08 15:03:41.489389"], ["updated_at", "2015-02-08 15:03:41.489389"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
256
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
257
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
258
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "48"], ["created_at", "2015-02-08 15:03:41.491859"], ["updated_at", "2015-02-08 15:03:41.491859"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
259
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
260
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
261
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "49"], ["created_at", "2015-02-08 15:03:41.494303"], ["updated_at", "2015-02-08 15:03:41.494303"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
262
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
263
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
264
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "50"], ["created_at", "2015-02-08 15:03:41.496892"], ["updated_at", "2015-02-08 15:03:41.496892"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
265
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
266
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
267
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "51"], ["created_at", "2015-02-08 15:03:41.499638"], ["updated_at", "2015-02-08 15:03:41.499638"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
268
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
269
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
270
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "52"], ["created_at", "2015-02-08 15:03:41.502236"], ["updated_at", "2015-02-08 15:03:41.502236"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
271
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
272
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
273
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "53"], ["created_at", "2015-02-08 15:03:41.504785"], ["updated_at", "2015-02-08 15:03:41.504785"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
274
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
275
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
276
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015-02-08 15:03:41.507250"], ["updated_at", "2015-02-08 15:03:41.507250"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
277
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
278
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
279
|
+
Parameters: {"filter"=>"file"}
|
280
|
+
[1m[35mPushType::Asset Load (0.4ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
281
|
+
[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
|
282
|
+
Completed 200 OK in 13ms (Views: 0.7ms | ActiveRecord: 0.6ms)
|
283
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
284
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
285
|
+
[1m[35m (0.1ms)[0m BEGIN
|
286
|
+
--------------------------------------------------------------------------------------
|
287
|
+
PushType::WysiwygMediaController::GET #index::filtering for files: test_0004_anonymous
|
288
|
+
--------------------------------------------------------------------------------------
|
289
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
290
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
291
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
292
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
293
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "55"], ["created_at", "2015-02-08 15:03:41.528984"], ["updated_at", "2015-02-08 15:03:41.528984"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
294
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
295
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
296
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "56"], ["created_at", "2015-02-08 15:03:41.531691"], ["updated_at", "2015-02-08 15:03:41.531691"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
297
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
298
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
299
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "57"], ["created_at", "2015-02-08 15:03:41.534144"], ["updated_at", "2015-02-08 15:03:41.534144"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
300
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
301
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
302
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "58"], ["created_at", "2015-02-08 15:03:41.536650"], ["updated_at", "2015-02-08 15:03:41.536650"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
303
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
304
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
305
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "59"], ["created_at", "2015-02-08 15:03:41.539308"], ["updated_at", "2015-02-08 15:03:41.539308"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
306
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
307
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
308
|
+
[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", "60"], ["created_at", "2015-02-08 15:03:41.541827"], ["updated_at", "2015-02-08 15:03:41.541827"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
309
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
310
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
311
|
+
[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", "61"], ["created_at", "2015-02-08 15:03:41.549749"], ["updated_at", "2015-02-08 15:03:41.549749"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
312
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
313
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
314
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "62"], ["created_at", "2015-02-08 15:03:41.553046"], ["updated_at", "2015-02-08 15:03:41.553046"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
315
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
316
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
317
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "63"], ["created_at", "2015-02-08 15:03:41.555940"], ["updated_at", "2015-02-08 15:03:41.555940"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
318
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
319
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
320
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015-02-08 15:03:41.558592"], ["updated_at", "2015-02-08 15:03:41.558592"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
321
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
322
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
323
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "65"], ["created_at", "2015-02-08 15:03:41.561500"], ["updated_at", "2015-02-08 15:03:41.561500"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
324
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
325
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
326
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "66"], ["created_at", "2015-02-08 15:03:41.564200"], ["updated_at", "2015-02-08 15:03:41.564200"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
327
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
328
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
329
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "67"], ["created_at", "2015-02-08 15:03:41.566910"], ["updated_at", "2015-02-08 15:03:41.566910"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
330
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
331
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
332
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "68"], ["created_at", "2015-02-08 15:03:41.569426"], ["updated_at", "2015-02-08 15:03:41.569426"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
333
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
334
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
335
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "69"], ["created_at", "2015-02-08 15:03:41.571928"], ["updated_at", "2015-02-08 15:03:41.571928"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
336
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "70"], ["created_at", "2015-02-08 15:03:41.574503"], ["updated_at", "2015-02-08 15:03:41.574503"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "71"], ["created_at", "2015-02-08 15:03:41.577288"], ["updated_at", "2015-02-08 15:03:41.577288"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2015-02-08 15:03:41.580176"], ["updated_at", "2015-02-08 15:03:41.580176"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
345
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
346
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
347
|
+
Parameters: {"filter"=>"file"}
|
348
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
349
|
+
[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
|
350
|
+
Completed 200 OK in 14ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
351
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
352
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
353
|
+
[1m[35m (0.1ms)[0m BEGIN
|
354
|
+
----------------------------------------------------------------------------------
|
355
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0004_anonymous
|
356
|
+
----------------------------------------------------------------------------------
|
357
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
358
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
359
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
360
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
361
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "73"], ["created_at", "2015-02-08 15:03:41.602657"], ["updated_at", "2015-02-08 15:03:41.602657"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
362
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
363
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
364
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "74"], ["created_at", "2015-02-08 15:03:41.605623"], ["updated_at", "2015-02-08 15:03:41.605623"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
365
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
366
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
367
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "75"], ["created_at", "2015-02-08 15:03:41.608840"], ["updated_at", "2015-02-08 15:03:41.608840"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
368
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
369
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
370
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "76"], ["created_at", "2015-02-08 15:03:41.611574"], ["updated_at", "2015-02-08 15:03:41.611574"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
371
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
372
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
373
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "77"], ["created_at", "2015-02-08 15:03:41.614203"], ["updated_at", "2015-02-08 15:03:41.614203"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
374
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
375
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
376
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "78"], ["created_at", "2015-02-08 15:03:41.617128"], ["updated_at", "2015-02-08 15:03:41.617128"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
377
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
378
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
379
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "79"], ["created_at", "2015-02-08 15:03:41.619774"], ["updated_at", "2015-02-08 15:03:41.619774"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
380
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
381
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
382
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "80"], ["created_at", "2015-02-08 15:03:41.622220"], ["updated_at", "2015-02-08 15:03:41.622220"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
383
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
384
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
385
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "81"], ["created_at", "2015-02-08 15:03:41.624600"], ["updated_at", "2015-02-08 15:03:41.624600"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
386
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
387
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
388
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "82"], ["created_at", "2015-02-08 15:03:41.627200"], ["updated_at", "2015-02-08 15:03:41.627200"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
389
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
390
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
391
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "83"], ["created_at", "2015-02-08 15:03:41.630431"], ["updated_at", "2015-02-08 15:03:41.630431"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
392
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
393
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
394
|
+
[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", "84"], ["created_at", "2015-02-08 15:03:41.635532"], ["updated_at", "2015-02-08 15:03:41.635532"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
395
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
396
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
397
|
+
[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", "85"], ["created_at", "2015-02-08 15:03:41.640316"], ["updated_at", "2015-02-08 15:03:41.640316"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
398
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
399
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
400
|
+
[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", "86"], ["created_at", "2015-02-08 15:03:41.645376"], ["updated_at", "2015-02-08 15:03:41.645376"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
401
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
402
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
403
|
+
[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", "87"], ["created_at", "2015-02-08 15:03:41.649797"], ["updated_at", "2015-02-08 15:03:41.649797"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
404
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
405
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
406
|
+
[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", "88"], ["created_at", "2015-02-08 15:03:41.653547"], ["updated_at", "2015-02-08 15:03:41.653547"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
407
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
408
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
409
|
+
[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", "89"], ["created_at", "2015-02-08 15:03:41.657564"], ["updated_at", "2015-02-08 15:03:41.657564"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
410
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
411
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
412
|
+
[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", "90"], ["created_at", "2015-02-08 15:03:41.661034"], ["updated_at", "2015-02-08 15:03:41.661034"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
413
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
414
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
415
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
416
|
+
[1m[35mPushType::Asset Load (0.4ms)[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
|
417
|
+
[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
|
418
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
419
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
420
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
421
|
+
[1m[35m (0.1ms)[0m BEGIN
|
422
|
+
----------------------------------------------------------------------------------
|
423
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0003_anonymous
|
424
|
+
----------------------------------------------------------------------------------
|
425
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
426
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
427
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
428
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
429
|
+
[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", "91"], ["created_at", "2015-02-08 15:03:41.677318"], ["updated_at", "2015-02-08 15:03:41.677318"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
430
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
431
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
432
|
+
[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", "92"], ["created_at", "2015-02-08 15:03:41.681547"], ["updated_at", "2015-02-08 15:03:41.681547"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
433
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
434
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
435
|
+
[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", "93"], ["created_at", "2015-02-08 15:03:41.684832"], ["updated_at", "2015-02-08 15:03:41.684832"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
436
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
437
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
438
|
+
[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", "94"], ["created_at", "2015-02-08 15:03:41.688532"], ["updated_at", "2015-02-08 15:03:41.688532"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
439
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
440
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
441
|
+
[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", "95"], ["created_at", "2015-02-08 15:03:41.692840"], ["updated_at", "2015-02-08 15:03:41.692840"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
442
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
443
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
444
|
+
[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", "96"], ["created_at", "2015-02-08 15:03:41.696844"], ["updated_at", "2015-02-08 15:03:41.696844"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
445
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
446
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
447
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "97"], ["created_at", "2015-02-08 15:03:41.700897"], ["updated_at", "2015-02-08 15:03:41.700897"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
448
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
449
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
450
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "98"], ["created_at", "2015-02-08 15:03:41.703749"], ["updated_at", "2015-02-08 15:03:41.703749"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
451
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
452
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
453
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "99"], ["created_at", "2015-02-08 15:03:41.706702"], ["updated_at", "2015-02-08 15:03:41.706702"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
454
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
455
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
456
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "100"], ["created_at", "2015-02-08 15:03:41.709666"], ["updated_at", "2015-02-08 15:03:41.709666"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
457
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
458
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
459
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "101"], ["created_at", "2015-02-08 15:03:41.712603"], ["updated_at", "2015-02-08 15:03:41.712603"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
460
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
461
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
462
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "102"], ["created_at", "2015-02-08 15:03:41.715398"], ["updated_at", "2015-02-08 15:03:41.715398"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
463
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
464
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
465
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "103"], ["created_at", "2015-02-08 15:03:41.718290"], ["updated_at", "2015-02-08 15:03:41.718290"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
466
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
467
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
468
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "104"], ["created_at", "2015-02-08 15:03:41.721040"], ["updated_at", "2015-02-08 15:03:41.721040"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
469
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
470
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "105"], ["created_at", "2015-02-08 15:03:41.723687"], ["updated_at", "2015-02-08 15:03:41.723687"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
472
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
473
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "106"], ["created_at", "2015-02-08 15:03:41.726342"], ["updated_at", "2015-02-08 15:03:41.726342"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
475
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
476
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "107"], ["created_at", "2015-02-08 15:03:41.729250"], ["updated_at", "2015-02-08 15:03:41.729250"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
478
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
479
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "108"], ["created_at", "2015-02-08 15:03:41.731901"], ["updated_at", "2015-02-08 15:03:41.731901"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
481
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
482
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
483
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
484
|
+
[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
|
485
|
+
[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
|
486
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
487
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
488
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
489
|
+
[1m[35m (0.1ms)[0m BEGIN
|
490
|
+
----------------------------------------------------------------------------------
|
491
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0001_anonymous
|
492
|
+
----------------------------------------------------------------------------------
|
493
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
494
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
495
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
496
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
497
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "109"], ["created_at", "2015-02-08 15:03:41.743773"], ["updated_at", "2015-02-08 15:03:41.743773"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
498
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
499
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
500
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "110"], ["created_at", "2015-02-08 15:03:41.746694"], ["updated_at", "2015-02-08 15:03:41.746694"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
501
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
502
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
503
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "111"], ["created_at", "2015-02-08 15:03:41.749363"], ["updated_at", "2015-02-08 15:03:41.749363"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
504
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
505
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
506
|
+
[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", "112"], ["created_at", "2015-02-08 15:03:41.751930"], ["updated_at", "2015-02-08 15:03:41.751930"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
507
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
508
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
509
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "113"], ["created_at", "2015-02-08 15:03:41.758860"], ["updated_at", "2015-02-08 15:03:41.758860"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
510
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
511
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
512
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "114"], ["created_at", "2015-02-08 15:03:41.761391"], ["updated_at", "2015-02-08 15:03:41.761391"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
513
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
514
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
515
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "115"], ["created_at", "2015-02-08 15:03:41.763985"], ["updated_at", "2015-02-08 15:03:41.763985"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
516
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
517
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
518
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "116"], ["created_at", "2015-02-08 15:03:41.766652"], ["updated_at", "2015-02-08 15:03:41.766652"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
519
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
520
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
521
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "117"], ["created_at", "2015-02-08 15:03:41.769295"], ["updated_at", "2015-02-08 15:03:41.769295"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
522
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
523
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
524
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "118"], ["created_at", "2015-02-08 15:03:41.771777"], ["updated_at", "2015-02-08 15:03:41.771777"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
525
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
526
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
527
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "119"], ["created_at", "2015-02-08 15:03:41.774203"], ["updated_at", "2015-02-08 15:03:41.774203"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
528
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
529
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
530
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "120"], ["created_at", "2015-02-08 15:03:41.776897"], ["updated_at", "2015-02-08 15:03:41.776897"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
531
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
532
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
533
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "121"], ["created_at", "2015-02-08 15:03:41.779498"], ["updated_at", "2015-02-08 15:03:41.779498"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
534
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
535
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
536
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "122"], ["created_at", "2015-02-08 15:03:41.782126"], ["updated_at", "2015-02-08 15:03:41.782126"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
537
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
538
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "123"], ["created_at", "2015-02-08 15:03:41.784570"], ["updated_at", "2015-02-08 15:03:41.784570"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
540
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
541
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "124"], ["created_at", "2015-02-08 15:03:41.787094"], ["updated_at", "2015-02-08 15:03:41.787094"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
543
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
544
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "125"], ["created_at", "2015-02-08 15:03:41.789627"], ["updated_at", "2015-02-08 15:03:41.789627"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
546
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
547
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "126"], ["created_at", "2015-02-08 15:03:41.792310"], ["updated_at", "2015-02-08 15:03:41.792310"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
549
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
550
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
551
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
552
|
+
[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
|
553
|
+
[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
|
554
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
555
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
556
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
557
|
+
[1m[35m (0.1ms)[0m BEGIN
|
558
|
+
----------------------------------------------------------------------------------
|
559
|
+
PushType::WysiwygMediaController::GET #index::with pagination: test_0002_anonymous
|
560
|
+
----------------------------------------------------------------------------------
|
561
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
562
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
563
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
564
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
565
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "127"], ["created_at", "2015-02-08 15:03:41.803679"], ["updated_at", "2015-02-08 15:03:41.803679"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
566
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
567
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
568
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "128"], ["created_at", "2015-02-08 15:03:41.806338"], ["updated_at", "2015-02-08 15:03:41.806338"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
569
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
570
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
571
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "129"], ["created_at", "2015-02-08 15:03:41.808772"], ["updated_at", "2015-02-08 15:03:41.808772"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
572
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
573
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
574
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "130"], ["created_at", "2015-02-08 15:03:41.811369"], ["updated_at", "2015-02-08 15:03:41.811369"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
575
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
576
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
577
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "131"], ["created_at", "2015-02-08 15:03:41.814070"], ["updated_at", "2015-02-08 15:03:41.814070"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
578
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
579
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
580
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "132"], ["created_at", "2015-02-08 15:03:41.816702"], ["updated_at", "2015-02-08 15:03:41.816702"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
581
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
582
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
583
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "133"], ["created_at", "2015-02-08 15:03:41.819182"], ["updated_at", "2015-02-08 15:03:41.819182"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
584
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
585
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
586
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "134"], ["created_at", "2015-02-08 15:03:41.821790"], ["updated_at", "2015-02-08 15:03:41.821790"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
587
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
588
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
589
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "135"], ["created_at", "2015-02-08 15:03:41.824332"], ["updated_at", "2015-02-08 15:03:41.824332"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
590
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
591
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
592
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "136"], ["created_at", "2015-02-08 15:03:41.827029"], ["updated_at", "2015-02-08 15:03:41.827029"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
593
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
594
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
595
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "137"], ["created_at", "2015-02-08 15:03:41.829499"], ["updated_at", "2015-02-08 15:03:41.829499"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
596
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
597
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
598
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "138"], ["created_at", "2015-02-08 15:03:41.832169"], ["updated_at", "2015-02-08 15:03:41.832169"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
599
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
600
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
601
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "139"], ["created_at", "2015-02-08 15:03:41.834748"], ["updated_at", "2015-02-08 15:03:41.834748"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
602
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
603
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
604
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "140"], ["created_at", "2015-02-08 15:03:41.837607"], ["updated_at", "2015-02-08 15:03:41.837607"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
605
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
606
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "141"], ["created_at", "2015-02-08 15:03:41.840189"], ["updated_at", "2015-02-08 15:03:41.840189"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
608
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
609
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
610
|
+
[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", "142"], ["created_at", "2015-02-08 15:03:41.842717"], ["updated_at", "2015-02-08 15:03:41.842717"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
611
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
612
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "143"], ["created_at", "2015-02-08 15:03:41.845439"], ["updated_at", "2015-02-08 15:03:41.845439"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
614
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
615
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "144"], ["created_at", "2015-02-08 15:03:41.848222"], ["updated_at", "2015-02-08 15:03:41.848222"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
617
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
618
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
619
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
620
|
+
[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
|
621
|
+
[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
|
622
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
623
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
624
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
625
|
+
[1m[35m (0.1ms)[0m BEGIN
|
626
|
+
-----------------------------------------------------------------------
|
627
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0005_anonymous
|
628
|
+
-----------------------------------------------------------------------
|
629
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
630
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
631
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
632
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
633
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "145"], ["created_at", "2015-02-08 15:03:41.860979"], ["updated_at", "2015-02-08 15:03:41.860979"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
634
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
635
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
636
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "146"], ["created_at", "2015-02-08 15:03:41.863748"], ["updated_at", "2015-02-08 15:03:41.863748"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
637
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
638
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
639
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "147"], ["created_at", "2015-02-08 15:03:41.866159"], ["updated_at", "2015-02-08 15:03:41.866159"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
640
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
641
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
642
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "148"], ["created_at", "2015-02-08 15:03:41.868829"], ["updated_at", "2015-02-08 15:03:41.868829"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
643
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
644
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
645
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
646
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
647
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
648
|
+
-----------------------------------------------------------------------
|
649
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
|
650
|
+
-----------------------------------------------------------------------
|
651
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
652
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
653
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
654
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
655
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "149"], ["created_at", "2015-02-08 15:03:41.873990"], ["updated_at", "2015-02-08 15:03:41.873990"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
656
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
657
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
658
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "150"], ["created_at", "2015-02-08 15:03:41.876568"], ["updated_at", "2015-02-08 15:03:41.876568"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
659
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
660
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
661
|
+
[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", "151"], ["created_at", "2015-02-08 15:03:41.879263"], ["updated_at", "2015-02-08 15:03:41.879263"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
662
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
663
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
664
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "152"], ["created_at", "2015-02-08 15:03:41.882353"], ["updated_at", "2015-02-08 15:03:41.882353"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
665
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
666
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
667
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
668
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
669
|
+
[1m[35m (0.1ms)[0m BEGIN
|
670
|
+
-----------------------------------------------------------------------
|
671
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0002_anonymous
|
672
|
+
-----------------------------------------------------------------------
|
673
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
674
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
675
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
676
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
677
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "153"], ["created_at", "2015-02-08 15:03:41.887811"], ["updated_at", "2015-02-08 15:03:41.887811"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
678
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
679
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
680
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "154"], ["created_at", "2015-02-08 15:03:41.890492"], ["updated_at", "2015-02-08 15:03:41.890492"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
681
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
682
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
683
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "155"], ["created_at", "2015-02-08 15:03:41.893470"], ["updated_at", "2015-02-08 15:03:41.893470"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
684
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
685
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
686
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "156"], ["created_at", "2015-02-08 15:03:41.896216"], ["updated_at", "2015-02-08 15:03:41.896216"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
687
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
688
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
689
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
690
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
691
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
692
|
+
-----------------------------------------------------------------------
|
693
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
694
|
+
-----------------------------------------------------------------------
|
695
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
696
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
697
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
698
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
699
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "157"], ["created_at", "2015-02-08 15:03:41.901325"], ["updated_at", "2015-02-08 15:03:41.901325"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
700
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
701
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
702
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "158"], ["created_at", "2015-02-08 15:03:41.904140"], ["updated_at", "2015-02-08 15:03:41.904140"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
703
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
704
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
705
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "159"], ["created_at", "2015-02-08 15:03:41.906811"], ["updated_at", "2015-02-08 15:03:41.906811"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
706
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
707
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
708
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "160"], ["created_at", "2015-02-08 15:03:41.909421"], ["updated_at", "2015-02-08 15:03:41.909421"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
709
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
710
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
711
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
712
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
713
|
+
[1m[35m (0.1ms)[0m BEGIN
|
714
|
+
-----------------------------------------------------------------------
|
715
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
716
|
+
-----------------------------------------------------------------------
|
717
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
718
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
719
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
720
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
721
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "161"], ["created_at", "2015-02-08 15:03:41.915030"], ["updated_at", "2015-02-08 15:03:41.915030"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
722
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
723
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
724
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "162"], ["created_at", "2015-02-08 15:03:41.917651"], ["updated_at", "2015-02-08 15:03:41.917651"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
725
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
726
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
727
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "163"], ["created_at", "2015-02-08 15:03:41.920335"], ["updated_at", "2015-02-08 15:03:41.920335"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
728
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
729
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
730
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "164"], ["created_at", "2015-02-08 15:03:41.922958"], ["updated_at", "2015-02-08 15:03:41.922958"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
731
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
732
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
733
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
734
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
735
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
736
|
+
--------------------------------------------------------------------------------
|
737
|
+
PushType::WysiwygMediaController::POST #create::asset count: test_0001_anonymous
|
738
|
+
--------------------------------------------------------------------------------
|
739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
740
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
741
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
742
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
743
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
744
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fc998381ff8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150208-6215-18ym9p3>>}}
|
745
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
746
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "165"], ["created_at", "2015-02-08 15:03:41.941469"], ["updated_at", "2015-02-08 15:03:41.941469"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
747
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
748
|
+
Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
749
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
750
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
751
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
752
|
+
[1m[35m (0.1ms)[0m BEGIN
|
753
|
+
----------------------------------------------------------------------
|
754
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0002_anonymous
|
755
|
+
----------------------------------------------------------------------
|
756
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
757
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
758
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
759
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
760
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "166"], ["created_at", "2015-02-08 15:03:41.950646"], ["updated_at", "2015-02-08 15:03:41.950646"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
761
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
762
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
763
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
764
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
765
|
+
----------------------------------------------------------------------
|
766
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
767
|
+
----------------------------------------------------------------------
|
768
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
769
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
771
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
772
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "167"], ["created_at", "2015-02-08 15:03:41.957992"], ["updated_at", "2015-02-08 15:03:41.957992"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
773
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
774
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
775
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
776
|
+
[1m[35m (0.1ms)[0m BEGIN
|
777
|
+
----------------------------------------------------------------------
|
778
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
779
|
+
----------------------------------------------------------------------
|
780
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
781
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
782
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
783
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
784
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "168"], ["created_at", "2015-02-08 15:03:41.965121"], ["updated_at", "2015-02-08 15:03:41.965121"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
785
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
786
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
787
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
788
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
789
|
+
----------------------------------------------------------------------
|
790
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0007_anonymous
|
791
|
+
----------------------------------------------------------------------
|
792
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
793
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
794
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
795
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
796
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "169"], ["created_at", "2015-02-08 15:03:41.971015"], ["updated_at", "2015-02-08 15:03:41.971015"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
797
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
798
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
799
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
800
|
+
[1m[35m (0.1ms)[0m BEGIN
|
801
|
+
----------------------------------------------------------------------
|
802
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0001_anonymous
|
803
|
+
----------------------------------------------------------------------
|
804
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
805
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
806
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
807
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
808
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "170"], ["created_at", "2015-02-08 15:03:41.976988"], ["updated_at", "2015-02-08 15:03:41.976988"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
809
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
810
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
811
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
812
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
813
|
+
----------------------------------------------------------------------
|
814
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0006_anonymous
|
815
|
+
----------------------------------------------------------------------
|
816
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
817
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
818
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
819
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
820
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "171"], ["created_at", "2015-02-08 15:03:41.983627"], ["updated_at", "2015-02-08 15:03:41.983627"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
821
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
822
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
823
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
824
|
+
[1m[35m (0.1ms)[0m BEGIN
|
825
|
+
----------------------------------------------------------------------
|
826
|
+
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0003_anonymous
|
827
|
+
----------------------------------------------------------------------
|
828
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
829
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
830
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
831
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
832
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "172"], ["created_at", "2015-02-08 15:03:41.990255"], ["updated_at", "2015-02-08 15:03:41.990255"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
833
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
834
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
835
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
836
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
837
|
+
-----------------------------------------------------------------------
|
838
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
839
|
+
-----------------------------------------------------------------------
|
840
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
841
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
842
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
843
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
844
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "173"], ["created_at", "2015-02-08 15:03:41.997702"], ["updated_at", "2015-02-08 15:03:41.997702"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
845
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
846
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
847
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "174"], ["created_at", "2015-02-08 15:03:42.000524"], ["updated_at", "2015-02-08 15:03:42.000524"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
848
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
849
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
850
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "175"], ["created_at", "2015-02-08 15:03:42.003097"], ["updated_at", "2015-02-08 15:03:42.003097"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
851
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
852
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
853
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "176"], ["created_at", "2015-02-08 15:03:42.005615"], ["updated_at", "2015-02-08 15:03:42.005615"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
854
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
855
|
+
[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
|
856
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
857
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
858
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
859
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
860
|
+
-----------------------------------------------------------------------
|
861
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
862
|
+
-----------------------------------------------------------------------
|
863
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
865
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
866
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
867
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "177"], ["created_at", "2015-02-08 15:03:42.015448"], ["updated_at", "2015-02-08 15:03:42.015448"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
868
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
869
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
870
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "178"], ["created_at", "2015-02-08 15:03:42.018100"], ["updated_at", "2015-02-08 15:03:42.018100"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
871
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
872
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
873
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "179"], ["created_at", "2015-02-08 15:03:42.020612"], ["updated_at", "2015-02-08 15:03:42.020612"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
874
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
875
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
876
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "180"], ["created_at", "2015-02-08 15:03:42.023163"], ["updated_at", "2015-02-08 15:03:42.023163"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
877
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
878
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
879
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
880
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
881
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
882
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
883
|
+
-----------------------------------------------------------------------
|
884
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
885
|
+
-----------------------------------------------------------------------
|
886
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
887
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
888
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
889
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
890
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "181"], ["created_at", "2015-02-08 15:03:42.033498"], ["updated_at", "2015-02-08 15:03:42.033498"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
891
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
892
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
893
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "182"], ["created_at", "2015-02-08 15:03:42.036279"], ["updated_at", "2015-02-08 15:03:42.036279"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
894
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
895
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
896
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "183"], ["created_at", "2015-02-08 15:03:42.038943"], ["updated_at", "2015-02-08 15:03:42.038943"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
897
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
898
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
899
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "184"], ["created_at", "2015-02-08 15:03:42.041497"], ["updated_at", "2015-02-08 15:03:42.041497"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
900
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
901
|
+
[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
|
902
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
903
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
904
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
905
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
906
|
+
-----------------------------------------------------------------------
|
907
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
908
|
+
-----------------------------------------------------------------------
|
909
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
910
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
911
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
912
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
913
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "185"], ["created_at", "2015-02-08 15:03:42.051372"], ["updated_at", "2015-02-08 15:03:42.051372"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
914
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
915
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
916
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "186"], ["created_at", "2015-02-08 15:03:42.054061"], ["updated_at", "2015-02-08 15:03:42.054061"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
917
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
918
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
919
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "187"], ["created_at", "2015-02-08 15:03:42.056582"], ["updated_at", "2015-02-08 15:03:42.056582"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
920
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
921
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
922
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "188"], ["created_at", "2015-02-08 15:03:42.059064"], ["updated_at", "2015-02-08 15:03:42.059064"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
923
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
924
|
+
[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
|
925
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
926
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
927
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
928
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
929
|
+
-----------------------------------------------------------------------
|
930
|
+
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
|
931
|
+
-----------------------------------------------------------------------
|
932
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
933
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
934
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
935
|
+
[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", "image.png"], ["file_size", 2643], ["file_uid", "189"], ["created_at", "2015-02-08 15:03:42.069156"], ["updated_at", "2015-02-08 15:03:42.069156"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
937
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
938
|
+
[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", "image.png"], ["file_size", 2643], ["file_uid", "190"], ["created_at", "2015-02-08 15:03:42.071799"], ["updated_at", "2015-02-08 15:03:42.071799"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
940
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
941
|
+
[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", "image.png"], ["file_size", 2643], ["file_uid", "191"], ["created_at", "2015-02-08 15:03:42.074354"], ["updated_at", "2015-02-08 15:03:42.074354"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
943
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
944
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
945
|
+
[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", "192"], ["created_at", "2015-02-08 15:03:42.077056"], ["updated_at", "2015-02-08 15:03:42.077056"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
946
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
947
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0[0m
|
948
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
949
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
950
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
951
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
952
|
+
----------------------------------------------------------------------------------------
|
953
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
|
954
|
+
----------------------------------------------------------------------------------------
|
955
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
956
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
957
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
958
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
959
|
+
Parameters: {"asset"=>{}}
|
960
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
961
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
962
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
963
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
964
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
965
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
966
|
+
----------------------------------------------------------------------------------------
|
967
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
|
968
|
+
----------------------------------------------------------------------------------------
|
969
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
970
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
972
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
973
|
+
Parameters: {"asset"=>{}}
|
974
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
975
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
976
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
977
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
978
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
979
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
980
|
+
----------------------------------------------------------------------------------------
|
981
|
+
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0001_anonymous
|
982
|
+
----------------------------------------------------------------------------------------
|
983
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
984
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
985
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
986
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
987
|
+
Parameters: {"asset"=>{}}
|
988
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
989
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
990
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
991
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
992
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
993
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
994
|
+
-------------------------------------------------------------------------------------
|
995
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0001_anonymous
|
996
|
+
-------------------------------------------------------------------------------------
|
997
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
998
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
999
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1000
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1001
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fc993b7e8c8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150208-6215-1vynch4>>}}
|
1002
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1003
|
+
[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", "193"], ["created_at", "2015-02-08 15:03:42.110649"], ["updated_at", "2015-02-08 15:03:42.110649"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1004
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1005
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1006
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1007
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1008
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1009
|
+
-------------------------------------------------------------------------------------
|
1010
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
|
1011
|
+
-------------------------------------------------------------------------------------
|
1012
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1013
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1014
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1015
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1016
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fc9939338c0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150208-6215-fvn14p>>}}
|
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", "image.png"], ["file_size", 2643], ["file_uid", "194"], ["created_at", "2015-02-08 15:03:42.144908"], ["updated_at", "2015-02-08 15:03:42.144908"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1019
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1020
|
+
Completed 200 OK in 29ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
1021
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1022
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1023
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1024
|
+
-------------------------------------------------------------------------------------
|
1025
|
+
PushType::WysiwygMediaController::POST #create::with valid asset: test_0003_anonymous
|
1026
|
+
-------------------------------------------------------------------------------------
|
1027
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1028
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1030
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1031
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fc998389208 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150208-6215-4ic234>>}}
|
1032
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1033
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "195"], ["created_at", "2015-02-08 15:03:42.154295"], ["updated_at", "2015-02-08 15:03:42.154295"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1034
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1035
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1036
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1037
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1038
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1039
|
+
---------------------------------------------------------------------------------------
|
1040
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0001_anonymous
|
1041
|
+
---------------------------------------------------------------------------------------
|
1042
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1043
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1044
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1045
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1046
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "196"], ["created_at", "2015-02-08 15:03:42.161767"], ["updated_at", "2015-02-08 15:03:42.161767"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1047
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1048
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1049
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "197"], ["created_at", "2015-02-08 15:03:42.164569"], ["updated_at", "2015-02-08 15:03:42.164569"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1050
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1051
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
|
1052
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "198"], ["created_at", "2015-02-08 15:03:42.167469"], ["updated_at", "2015-02-08 15:03:42.167469"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1053
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1054
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1055
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "199"], ["created_at", "2015-02-08 15:03:42.170235"], ["updated_at", "2015-02-08 15:03:42.170235"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1056
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1057
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1058
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "200"], ["created_at", "2015-02-08 15:03:42.172818"], ["updated_at", "2015-02-08 15:03:42.172818"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1059
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1060
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1061
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2015-02-08 15:03:42.175525"], ["updated_at", "2015-02-08 15:03:42.175525"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1062
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1063
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1064
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2015-02-08 15:03:42.178449"], ["updated_at", "2015-02-08 15:03:42.178449"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1065
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1066
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1067
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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", "2015-02-08 15:03:42.181163"], ["updated_at", "2015-02-08 15:03:42.181163"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1068
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1069
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1070
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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", "2015-02-08 15:03:42.183892"], ["updated_at", "2015-02-08 15:03:42.183892"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1071
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1072
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1073
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "205"], ["created_at", "2015-02-08 15:03:42.186610"], ["updated_at", "2015-02-08 15:03:42.186610"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1074
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1075
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1076
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "206"], ["created_at", "2015-02-08 15:03:42.189411"], ["updated_at", "2015-02-08 15:03:42.189411"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1077
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1078
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1079
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "207"], ["created_at", "2015-02-08 15:03:42.192939"], ["updated_at", "2015-02-08 15:03:42.192939"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1080
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1081
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1082
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "208"], ["created_at", "2015-02-08 15:03:42.195685"], ["updated_at", "2015-02-08 15:03:42.195685"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1083
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1084
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1085
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "209"], ["created_at", "2015-02-08 15:03:42.198314"], ["updated_at", "2015-02-08 15:03:42.198314"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1086
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1087
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1088
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "210"], ["created_at", "2015-02-08 15:03:42.200807"], ["updated_at", "2015-02-08 15:03:42.200807"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1089
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1090
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1091
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "211"], ["created_at", "2015-02-08 15:03:42.203544"], ["updated_at", "2015-02-08 15:03:42.203544"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1092
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1093
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1094
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "212"], ["created_at", "2015-02-08 15:03:42.206207"], ["updated_at", "2015-02-08 15:03:42.206207"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1095
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1096
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1097
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "213"], ["created_at", "2015-02-08 15:03:42.208817"], ["updated_at", "2015-02-08 15:03:42.208817"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1098
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1099
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1100
|
+
Parameters: {"filter"=>"image"}
|
1101
|
+
[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
|
1102
|
+
[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
|
1103
|
+
Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
1104
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1105
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1106
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1107
|
+
---------------------------------------------------------------------------------------
|
1108
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0004_anonymous
|
1109
|
+
---------------------------------------------------------------------------------------
|
1110
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1111
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1112
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1113
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1114
|
+
[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", "214"], ["created_at", "2015-02-08 15:03:42.227806"], ["updated_at", "2015-02-08 15:03:42.227806"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1115
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1116
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1117
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "215"], ["created_at", "2015-02-08 15:03:42.230689"], ["updated_at", "2015-02-08 15:03:42.230689"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1118
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1120
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "216"], ["created_at", "2015-02-08 15:03:42.233274"], ["updated_at", "2015-02-08 15:03:42.233274"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1121
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1122
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1123
|
+
[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", "217"], ["created_at", "2015-02-08 15:03:42.235778"], ["updated_at", "2015-02-08 15:03:42.235778"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1124
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1125
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1126
|
+
[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", "218"], ["created_at", "2015-02-08 15:03:42.239189"], ["updated_at", "2015-02-08 15:03:42.239189"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1127
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1129
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "219"], ["created_at", "2015-02-08 15:03:42.242039"], ["updated_at", "2015-02-08 15:03:42.242039"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1130
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1131
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1132
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "220"], ["created_at", "2015-02-08 15:03:42.244672"], ["updated_at", "2015-02-08 15:03:42.244672"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1133
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1134
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1135
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "221"], ["created_at", "2015-02-08 15:03:42.247192"], ["updated_at", "2015-02-08 15:03:42.247192"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1136
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1137
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1138
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "222"], ["created_at", "2015-02-08 15:03:42.250019"], ["updated_at", "2015-02-08 15:03:42.250019"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1139
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1140
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1141
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "223"], ["created_at", "2015-02-08 15:03:42.252574"], ["updated_at", "2015-02-08 15:03:42.252574"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1142
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1143
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1144
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "224"], ["created_at", "2015-02-08 15:03:42.255092"], ["updated_at", "2015-02-08 15:03:42.255092"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1145
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1146
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1147
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "225"], ["created_at", "2015-02-08 15:03:42.257649"], ["updated_at", "2015-02-08 15:03:42.257649"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1148
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1149
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1150
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "226"], ["created_at", "2015-02-08 15:03:42.260571"], ["updated_at", "2015-02-08 15:03:42.260571"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1151
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1152
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1153
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "227"], ["created_at", "2015-02-08 15:03:42.263448"], ["updated_at", "2015-02-08 15:03:42.263448"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1154
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1155
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1156
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "228"], ["created_at", "2015-02-08 15:03:42.265981"], ["updated_at", "2015-02-08 15:03:42.265981"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1157
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1158
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1159
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "229"], ["created_at", "2015-02-08 15:03:42.268469"], ["updated_at", "2015-02-08 15:03:42.268469"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1160
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1161
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1162
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "230"], ["created_at", "2015-02-08 15:03:42.271309"], ["updated_at", "2015-02-08 15:03:42.271309"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1163
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1164
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1165
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "231"], ["created_at", "2015-02-08 15:03:42.274016"], ["updated_at", "2015-02-08 15:03:42.274016"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1166
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1167
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1168
|
+
Parameters: {"filter"=>"image"}
|
1169
|
+
[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
|
1170
|
+
[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
|
1171
|
+
Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
1172
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1173
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1174
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1175
|
+
---------------------------------------------------------------------------------------
|
1176
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0002_anonymous
|
1177
|
+
---------------------------------------------------------------------------------------
|
1178
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1179
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1180
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1181
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1182
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "232"], ["created_at", "2015-02-08 15:03:42.294056"], ["updated_at", "2015-02-08 15:03:42.294056"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1183
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1184
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1185
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "233"], ["created_at", "2015-02-08 15:03:42.297010"], ["updated_at", "2015-02-08 15:03:42.297010"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1186
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1187
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1188
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "234"], ["created_at", "2015-02-08 15:03:42.299660"], ["updated_at", "2015-02-08 15:03:42.299660"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1189
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1190
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1191
|
+
[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", "235"], ["created_at", "2015-02-08 15:03:42.302502"], ["updated_at", "2015-02-08 15:03:42.302502"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1192
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1193
|
+
[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", "image.png"], ["file_size", 2643], ["file_uid", "236"], ["created_at", "2015-02-08 15:03:42.305286"], ["updated_at", "2015-02-08 15:03:42.305286"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1195
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1196
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1197
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "237"], ["created_at", "2015-02-08 15:03:42.307912"], ["updated_at", "2015-02-08 15:03:42.307912"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1198
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1199
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1200
|
+
[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", "238"], ["created_at", "2015-02-08 15:03:42.310649"], ["updated_at", "2015-02-08 15:03:42.310649"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1201
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1202
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1203
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "239"], ["created_at", "2015-02-08 15:03:42.313327"], ["updated_at", "2015-02-08 15:03:42.313327"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1204
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1205
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1206
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "240"], ["created_at", "2015-02-08 15:03:42.316421"], ["updated_at", "2015-02-08 15:03:42.316421"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1207
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1208
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "241"], ["created_at", "2015-02-08 15:03:42.319233"], ["updated_at", "2015-02-08 15:03:42.319233"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1210
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1211
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1212
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "242"], ["created_at", "2015-02-08 15:03:42.322368"], ["updated_at", "2015-02-08 15:03:42.322368"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1213
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1214
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1215
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "243"], ["created_at", "2015-02-08 15:03:42.325137"], ["updated_at", "2015-02-08 15:03:42.325137"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1216
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1217
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1218
|
+
[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", "244"], ["created_at", "2015-02-08 15:03:42.328310"], ["updated_at", "2015-02-08 15:03:42.328310"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1219
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1220
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1221
|
+
[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", "245"], ["created_at", "2015-02-08 15:03:42.336572"], ["updated_at", "2015-02-08 15:03:42.336572"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1222
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1223
|
+
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "246"], ["created_at", "2015-02-08 15:03:42.339375"], ["updated_at", "2015-02-08 15:03:42.339375"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1225
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1226
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1227
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "247"], ["created_at", "2015-02-08 15:03:42.341847"], ["updated_at", "2015-02-08 15:03:42.341847"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1228
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1229
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1230
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "248"], ["created_at", "2015-02-08 15:03:42.344389"], ["updated_at", "2015-02-08 15:03:42.344389"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1231
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1232
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1233
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "249"], ["created_at", "2015-02-08 15:03:42.347010"], ["updated_at", "2015-02-08 15:03:42.347010"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1234
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1235
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1236
|
+
Parameters: {"filter"=>"image"}
|
1237
|
+
[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
|
1238
|
+
[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
|
1239
|
+
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
1240
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1241
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1242
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1243
|
+
---------------------------------------------------------------------------------------
|
1244
|
+
PushType::WysiwygMediaController::GET #index::filtering for images: test_0003_anonymous
|
1245
|
+
---------------------------------------------------------------------------------------
|
1246
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1247
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1248
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1249
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1250
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "250"], ["created_at", "2015-02-08 15:03:42.365865"], ["updated_at", "2015-02-08 15:03:42.365865"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1251
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1252
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1253
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-02-08 15:03:42.368547"], ["updated_at", "2015-02-08 15:03:42.368547"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1254
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1255
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1256
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "252"], ["created_at", "2015-02-08 15:03:42.371030"], ["updated_at", "2015-02-08 15:03:42.371030"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1257
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1258
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1259
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "253"], ["created_at", "2015-02-08 15:03:42.373553"], ["updated_at", "2015-02-08 15:03:42.373553"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1260
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1261
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1262
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "254"], ["created_at", "2015-02-08 15:03:42.376275"], ["updated_at", "2015-02-08 15:03:42.376275"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1263
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1264
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1265
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "255"], ["created_at", "2015-02-08 15:03:42.378938"], ["updated_at", "2015-02-08 15:03:42.378938"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1266
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1267
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1268
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "256"], ["created_at", "2015-02-08 15:03:42.381363"], ["updated_at", "2015-02-08 15:03:42.381363"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1269
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1270
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1271
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "257"], ["created_at", "2015-02-08 15:03:42.383918"], ["updated_at", "2015-02-08 15:03:42.383918"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1272
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1273
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1274
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "258"], ["created_at", "2015-02-08 15:03:42.386852"], ["updated_at", "2015-02-08 15:03:42.386852"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1275
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1276
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1277
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "259"], ["created_at", "2015-02-08 15:03:42.389486"], ["updated_at", "2015-02-08 15:03:42.389486"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1278
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1279
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1280
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "260"], ["created_at", "2015-02-08 15:03:42.392006"], ["updated_at", "2015-02-08 15:03:42.392006"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1281
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "261"], ["created_at", "2015-02-08 15:03:42.394441"], ["updated_at", "2015-02-08 15:03:42.394441"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "262"], ["created_at", "2015-02-08 15:03:42.397200"], ["updated_at", "2015-02-08 15:03:42.397200"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "263"], ["created_at", "2015-02-08 15:03:42.400053"], ["updated_at", "2015-02-08 15:03:42.400053"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "264"], ["created_at", "2015-02-08 15:03:42.402677"], ["updated_at", "2015-02-08 15:03:42.402677"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1293
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1294
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1295
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "265"], ["created_at", "2015-02-08 15:03:42.405197"], ["updated_at", "2015-02-08 15:03:42.405197"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1296
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1297
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1298
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "266"], ["created_at", "2015-02-08 15:03:42.407595"], ["updated_at", "2015-02-08 15:03:42.407595"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1299
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1300
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1301
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "267"], ["created_at", "2015-02-08 15:03:42.410398"], ["updated_at", "2015-02-08 15:03:42.410398"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1302
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1303
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1304
|
+
Parameters: {"filter"=>"image"}
|
1305
|
+
[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
|
1306
|
+
[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
|
1307
|
+
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
1308
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1309
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|