push_type_wysiwyg 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/push_type/froala_overrides/file_upload.js +1 -1
- data/app/assets/javascripts/push_type/froala_overrides/froala_editor.js +7 -32
- data/lib/push_type/wysiwyg.rb +2 -0
- data/lib/push_type/wysiwyg/engine.rb +5 -3
- data/test/controllers/push_type/wysiwyg_media_controller_test.rb +2 -2
- data/test/dummy/app/models/category.rb +2 -1
- data/test/dummy/app/models/page.rb +5 -4
- data/test/dummy/config/initializers/push_type.rb +21 -4
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150816155521_create_push_type_users.push_type.rb → 20150824095220_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150816155522_create_push_type_nodes.push_type.rb → 20150824095221_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150816155523_create_push_type_node_hierarchies.push_type.rb → 20150824095222_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150816155524_create_push_type_assets.push_type.rb → 20150824095223_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150816155525_create_push_type_taxonomies.push_type.rb → 20150824095224_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150816155526_create_push_type_taxonomy_hierarchies.push_type.rb → 20150824095225_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150816155527_add_field_store_default_values.push_type.rb → 20150824095226_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +727 -706
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{iEI8WixZrgmiB_zh_BWlKL7CuC2q7ssPJvlwnAQECoE.cache → JjX54PrDmCFzcjTbq6Nd993K1CK5NOf5R7f3qyO_-So.cache} +2 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_yN7kor4gekA7HUSIorkC2I1VnxWM5aOgd5eNrA6ca8.cache +1 -0
- data/test/helpers/push_type/wysiwyg_media_helper_test.rb +2 -2
- data/test/models/push_type/wysiwyg_field_test.rb +4 -2
- data/test/test_helper.rb +4 -14
- metadata +31 -31
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BbvLT7G9ojUvtI0HU7G_rmPrIv82rlBK6mQyu158MwU.cache +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f29f6d77ca6f980dedd3eb085e6a37702b64451
|
4
|
+
data.tar.gz: 1f47ac512e7be84a86504e91c4a5b30ed6c8ef21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f872b93b3780c021db807928dceecff8aea20573f0fa2cb5a19cf97b1e2c9b624b52c17c10d3139135a81d4b5f3263be6a73889bf7ae1301aa552de55760f47b
|
7
|
+
data.tar.gz: b344dea9658c47e326678a1f1a558d9afe0f78f80442a11562570739b7d17ac33497bf1d7480f70e3aeca0ebf887138a866b230b623c76dcf2b568688e7b7164
|
@@ -50,7 +50,7 @@ $.Editable.prototype.buildFileUpload = function () {
|
|
50
50
|
|
51
51
|
this.addListener('hidePopups', $.proxy(function () {
|
52
52
|
this.hideFileWrapper();
|
53
|
-
}
|
53
|
+
}, this));
|
54
54
|
|
55
55
|
// Init progress bar.
|
56
56
|
this.$file_progress_bar = this.$file_wrapper.find('p#f-file-progress-' + this._id);
|
@@ -12,17 +12,18 @@ $.Editable.prototype.showByCoordinates = function (x, y) {
|
|
12
12
|
y = y - $container.offset().top;
|
13
13
|
|
14
14
|
if (!this.iPad()) {
|
15
|
-
y = y + $container.scrollTop();
|
16
15
|
x = x + $container.scrollLeft();
|
16
|
+
y = y + $container.scrollTop();
|
17
17
|
}
|
18
18
|
}
|
19
19
|
|
20
|
-
|
20
|
+
if (y > this.$box.offset().top + this.$box.outerHeight()) {
|
21
|
+
y = this.$box.offset().top + this.$box.outerHeight();
|
21
22
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
if (this.options.inlineMode) y = y + 10;
|
24
|
+
}
|
25
|
+
|
26
|
+
var editor_width = Math.max(this.$popup_editor.outerWidth(), 250);
|
26
27
|
|
27
28
|
if (x + editor_width >= $container.outerWidth() - 50 && (x + 44) - editor_width > 0) {
|
28
29
|
this.$popup_editor.addClass('right-side');
|
@@ -49,29 +50,3 @@ $.Editable.prototype.showByCoordinates = function (x, y) {
|
|
49
50
|
|
50
51
|
this.$popup_editor.show();
|
51
52
|
};
|
52
|
-
|
53
|
-
/**
|
54
|
-
* Override to fix IE9 bug
|
55
|
-
*/
|
56
|
-
$.Editable.prototype.parseImageResponse = function (response) {
|
57
|
-
try {
|
58
|
-
var resp = $.parseJSON(response);
|
59
|
-
|
60
|
-
// PT BEGIN
|
61
|
-
// Is this IE9 being a wugger?
|
62
|
-
if (!resp) { return; }
|
63
|
-
// PT END
|
64
|
-
|
65
|
-
if (resp.link) {
|
66
|
-
this.writeImage(resp.link);
|
67
|
-
} else if (resp.error) {
|
68
|
-
this.throwImageErrorWithMessage(resp.error);
|
69
|
-
} else {
|
70
|
-
// No link in upload request.
|
71
|
-
this.throwImageError(2);
|
72
|
-
}
|
73
|
-
} catch (ex) {
|
74
|
-
// Bad response.
|
75
|
-
this.throwImageError(4);
|
76
|
-
}
|
77
|
-
};
|
data/lib/push_type/wysiwyg.rb
CHANGED
@@ -2,16 +2,18 @@ module PushType
|
|
2
2
|
module Wysiwyg
|
3
3
|
class Engine < ::Rails::Engine
|
4
4
|
isolate_namespace PushType
|
5
|
-
engine_name '
|
5
|
+
engine_name 'push_type_wysiwyg'
|
6
6
|
|
7
7
|
config.generators do |g|
|
8
8
|
g.assets false
|
9
9
|
g.helper false
|
10
|
-
g.test_framework :
|
10
|
+
g.test_framework :test_unit, fixture: false
|
11
11
|
end
|
12
12
|
|
13
13
|
initializer 'push_type.wysiwyg_assets' do
|
14
|
-
|
14
|
+
ActiveSupport.on_load :push_type_admin do
|
15
|
+
admin_assets.register 'push_type/wysiwyg'
|
16
|
+
end
|
15
17
|
end
|
16
18
|
end
|
17
19
|
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
require
|
1
|
+
require 'test_helper'
|
2
2
|
|
3
3
|
module PushType
|
4
|
-
|
4
|
+
class WysiwygMediaControllerTest < ActionController::TestCase
|
5
5
|
|
6
6
|
let(:json_response) { JSON.parse(response.body) }
|
7
7
|
let(:asset_attrs) { FactoryGirl.attributes_for(:asset) }
|
@@ -1,10 +1,11 @@
|
|
1
1
|
class Page < PushType::Node
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
3
|
+
# By default a node can have children of any other node type.
|
4
|
+
# Optionally pass a list of acceptable node types or prevent
|
5
|
+
# any descendents by passing false.
|
6
|
+
has_child_nodes :all
|
5
7
|
|
6
|
-
#
|
8
|
+
# Model the content by adding custom fields to the node.
|
7
9
|
# field :body, :text, validates: { presence: true }
|
8
|
-
|
9
10
|
|
10
11
|
end
|
@@ -1,22 +1,39 @@
|
|
1
1
|
PushType.setup do |config|
|
2
2
|
|
3
|
+
# By default all node types can be placed at the root of the
|
4
|
+
# content tree. Alternatively, set an array of node type symbols
|
5
|
+
# to whiltelist acceptable root nodes.
|
3
6
|
config.root_nodes = :all
|
4
7
|
|
5
|
-
|
6
|
-
|
8
|
+
# Set the slug of the node that the `NodesFrontEndContoller` will
|
9
|
+
# render when visting the root URL of the site (the homepage).
|
10
|
+
# This setting can be overridden in config/routes.rb.
|
7
11
|
config.home_slug = 'home'
|
8
12
|
|
13
|
+
# Set an array of node type symbols which will not be exposed to
|
14
|
+
# the `NodesFrontEndContoller`. These nodes will not be accessible
|
15
|
+
# through their permalink.
|
16
|
+
config.unexposed_nodes = []
|
17
|
+
|
18
|
+
# Set an array of taxonomy type symbols which will not be exposed
|
19
|
+
# to the `TaxonomiesFrontEndController`. These taxonomies will not
|
20
|
+
# be accessible through their permalink.
|
9
21
|
config.unexposed_taxonomies = []
|
10
22
|
|
23
|
+
# Media styles allow you to predefine a collection of geometry
|
24
|
+
# strings for resizing images on the fly with the `Asset#media`
|
25
|
+
# method. Example: `image.media(:large)`
|
11
26
|
config.media_styles = {
|
12
27
|
large: '1024x1024>',
|
13
28
|
medium: '512x512>',
|
14
29
|
small: '256x256>'
|
15
30
|
}
|
16
31
|
|
17
|
-
# Configure the
|
32
|
+
# Configure the email address to be used as the "from" address
|
33
|
+
# for PushType's build in mailers.
|
18
34
|
config.mailer_sender = 'pushtype@example.com'
|
19
35
|
|
36
|
+
# PushType uses Dragonfly for managing uploaded images/assets.
|
20
37
|
# Dragonfly datastore configuration
|
21
38
|
config.dragonfly_datastore = :file
|
22
39
|
config.dragonfly_datastore_options = {
|
@@ -33,6 +50,6 @@ PushType.setup do |config|
|
|
33
50
|
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
34
51
|
# }
|
35
52
|
|
36
|
-
# config.dragonfly_secret = '
|
53
|
+
# config.dragonfly_secret = 'c574364774a7cab551c6d36f20613658db32704a9c24f8d841734fe41065f006'
|
37
54
|
|
38
55
|
end
|
@@ -11,10 +11,10 @@
|
|
11
11
|
# if you're sharing your code publicly.
|
12
12
|
|
13
13
|
development:
|
14
|
-
secret_key_base:
|
14
|
+
secret_key_base: 8441b338eabe8d060a87c79a9a59304f24d9462f3e6d81a590d7d88623420e1aa4fecee844a1b7f08463211af6ba93afaac79616ba770891c0fd9287e3d21448
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
17
|
+
secret_key_base: dc365c34f6fb22603d6b0314bf265ef1534780b0427d105578e0ed3c9dde39082c79fa1cce1bbd5e5c6fc3ae15bb3f4f33ff83caf1cf061b663d70cb385c84a4
|
18
18
|
|
19
19
|
# Do not keep production secrets in the repository,
|
20
20
|
# instead read values from the environment.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20150824095226) do
|
15
15
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
17
17
|
enable_extension "plpgsql"
|
data/test/dummy/log/test.log
CHANGED
@@ -1,56 +1,56 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (41.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreatePushTypeUsers (
|
4
|
+
Migrating to CreatePushTypeUsers (20150824095220)
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
6
|
-
[1m[36mSQL (
|
7
|
-
[1m[35m (2.
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
9
|
-
[1m[35m (0.
|
10
|
-
Migrating to CreatePushTypeNodes (
|
6
|
+
[1m[36mSQL (1.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
8
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150824095220"]]
|
9
|
+
[1m[35m (0.7ms)[0m COMMIT
|
10
|
+
Migrating to CreatePushTypeNodes (20150824095221)
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12
|
-
[1m[35m (1.
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
14
|
-
[1m[35m (0.
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
12
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
|
13
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150824095221"]]
|
14
|
+
[1m[35m (0.5ms)[0m COMMIT
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150824095222)
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17
17
|
[1m[35m (0.4ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
18
18
|
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
19
19
|
[1m[35m (0.5ms)[0m CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
21
|
-
[1m[35m (0.
|
22
|
-
Migrating to CreatePushTypeAssets (
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150824095222"]]
|
21
|
+
[1m[35m (0.4ms)[0m COMMIT
|
22
|
+
Migrating to CreatePushTypeAssets (20150824095223)
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
24
|
-
[1m[35m (
|
25
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
24
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
|
25
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150824095223"]]
|
26
26
|
[1m[35m (0.4ms)[0m COMMIT
|
27
|
-
Migrating to CreatePushTypeTaxonomies (
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20150824095224)
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29
|
-
[1m[35m (
|
29
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
30
30
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_assets" ADD "tags" character varying[][0m
|
31
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150824095224"]]
|
32
32
|
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20150824095225)
|
34
34
|
[1m[35m (0.1ms)[0m BEGIN
|
35
|
-
[1m[36m (0.
|
36
|
-
[1m[35m (0.
|
37
|
-
[1m[36m (0.
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
35
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) [0m
|
36
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
37
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")[0m
|
38
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150824095225"]]
|
39
39
|
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20150824095226)
|
41
41
|
[1m[35m (0.1ms)[0m BEGIN
|
42
42
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
|
43
|
-
[1m[35m (0.
|
43
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
44
44
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
45
45
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
|
46
|
-
[1m[36m (0.
|
47
|
-
[1m[35m (0.
|
46
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
47
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
48
48
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
49
|
-
[1m[35m (0.
|
50
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
51
|
-
[1m[35m (0.
|
49
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
|
50
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150824095226"]]
|
51
|
+
[1m[35m (0.4ms)[0m COMMIT
|
52
52
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53
|
-
[1m[35m (1.
|
53
|
+
[1m[35m (1.7ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
54
54
|
FROM pg_constraint c
|
55
55
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
56
56
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -74,7 +74,7 @@ WHERE c.contype = 'f'
|
|
74
74
|
AND t3.nspname = ANY (current_schemas(false))
|
75
75
|
ORDER BY c.conname
|
76
76
|
[0m
|
77
|
-
[1m[35m (1.
|
77
|
+
[1m[35m (1.2ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
78
78
|
FROM pg_constraint c
|
79
79
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
80
80
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -98,7 +98,7 @@ WHERE c.contype = 'f'
|
|
98
98
|
AND t3.nspname = ANY (current_schemas(false))
|
99
99
|
ORDER BY c.conname
|
100
100
|
[0m
|
101
|
-
[1m[35m (1.
|
101
|
+
[1m[35m (1.2ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
102
102
|
FROM pg_constraint c
|
103
103
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
104
104
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -122,1241 +122,1262 @@ WHERE c.contype = 'f'
|
|
122
122
|
AND t3.nspname = ANY (current_schemas(false))
|
123
123
|
ORDER BY c.conname
|
124
124
|
[0m
|
125
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
126
|
-
[1m[35m (0.
|
125
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
126
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL
|
127
127
|
[1m[36m (0.9ms)[0m [1m SELECT schemaname || '.' || tablename
|
128
128
|
FROM pg_tables
|
129
|
-
WHERE
|
129
|
+
WHERE
|
130
|
+
tablename !~ '_prt_' AND
|
131
|
+
tablename <> 'schema_migrations' AND
|
132
|
+
schemaname = ANY (current_schemas(false))
|
130
133
|
[0m
|
131
134
|
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
132
|
-
[1m[36m (
|
133
|
-
[1m[35m (0.
|
135
|
+
[1m[36m (8.2ms)[0m [1mTRUNCATE TABLE "public"."push_type_users", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies" RESTART IDENTITY CASCADE;[0m
|
136
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
|
134
137
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135
|
-
|
136
|
-
PushType::
|
137
|
-
|
138
|
+
---------------------------------------------------------------------------
|
139
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0005_anonymous
|
140
|
+
---------------------------------------------------------------------------
|
138
141
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
139
142
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
140
|
-
[1m[35m (0.
|
143
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
141
144
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
142
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "1"], ["created_at", "2015-08-
|
145
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "1"], ["created_at", "2015-08-24 09:52:25.870198"], ["updated_at", "2015-08-24 09:52:25.870198"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
143
146
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
144
147
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
145
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-08-
|
148
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-08-24 09:52:25.875696"], ["updated_at", "2015-08-24 09:52:25.875696"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
146
149
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
147
150
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
148
|
-
[1m[35mSQL (0.
|
151
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "3"], ["created_at", "2015-08-24 09:52:25.877936"], ["updated_at", "2015-08-24 09:52:25.877936"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
149
152
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
150
153
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
151
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015-08-
|
154
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015-08-24 09:52:25.907953"], ["updated_at", "2015-08-24 09:52:25.907953"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
152
155
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
153
|
-
[1m[36m (0.
|
154
|
-
[1m[
|
155
|
-
[1m[36m (0.1ms)[0m [
|
156
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
157
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
158
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159
|
+
[1m[35m (0.1ms)[0m BEGIN
|
160
|
+
---------------------------------------------------------------------------
|
161
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0002_anonymous
|
162
|
+
---------------------------------------------------------------------------
|
163
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
164
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
165
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
156
166
|
[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", "
|
167
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:25.913834"], ["updated_at", "2015-08-24 09:52:25.913834"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
158
168
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
159
169
|
[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", "
|
170
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "6"], ["created_at", "2015-08-24 09:52:25.915980"], ["updated_at", "2015-08-24 09:52:25.915980"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
161
171
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
162
172
|
[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", "
|
173
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "7"], ["created_at", "2015-08-24 09:52:25.918097"], ["updated_at", "2015-08-24 09:52:25.918097"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
164
174
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
165
175
|
[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", "
|
176
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "8"], ["created_at", "2015-08-24 09:52:25.920094"], ["updated_at", "2015-08-24 09:52:25.920094"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
167
177
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
168
|
-
[1m[35m (0.1ms)[0m
|
169
|
-
[1m[
|
170
|
-
[1m[35m (0.1ms)[0m
|
178
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
179
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
180
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
181
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
182
|
+
---------------------------------------------------------------------------
|
183
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0004_anonymous
|
184
|
+
---------------------------------------------------------------------------
|
185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
186
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
187
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
171
188
|
[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", "
|
189
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "9"], ["created_at", "2015-08-24 09:52:25.924236"], ["updated_at", "2015-08-24 09:52:25.924236"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
173
190
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
174
191
|
[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", "
|
192
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "10"], ["created_at", "2015-08-24 09:52:25.926272"], ["updated_at", "2015-08-24 09:52:25.926272"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
176
193
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
177
194
|
[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", "
|
195
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "11"], ["created_at", "2015-08-24 09:52:25.928207"], ["updated_at", "2015-08-24 09:52:25.928207"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
179
196
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
180
197
|
[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", "
|
198
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "12"], ["created_at", "2015-08-24 09:52:25.930362"], ["updated_at", "2015-08-24 09:52:25.930362"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
182
199
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
183
|
-
[1m[36m (0.1ms)[0m [
|
184
|
-
[1m[
|
185
|
-
[1m[36m (0.1ms)[0m [
|
200
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
201
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
202
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
203
|
+
[1m[35m (0.1ms)[0m BEGIN
|
204
|
+
---------------------------------------------------------------------------
|
205
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0003_anonymous
|
206
|
+
---------------------------------------------------------------------------
|
207
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
208
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
209
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
186
210
|
[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", "
|
211
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "13"], ["created_at", "2015-08-24 09:52:25.934530"], ["updated_at", "2015-08-24 09:52:25.934530"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
188
212
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
189
213
|
[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", "
|
214
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "14"], ["created_at", "2015-08-24 09:52:25.936680"], ["updated_at", "2015-08-24 09:52:25.936680"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
191
215
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
192
216
|
[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", "
|
217
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "15"], ["created_at", "2015-08-24 09:52:25.938685"], ["updated_at", "2015-08-24 09:52:25.938685"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
194
218
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
195
|
-
|
196
|
-
|
197
|
-
[1m[
|
198
|
-
[1m[35m (0.
|
199
|
-
Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 1.0ms)
|
219
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
220
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "16"], ["created_at", "2015-08-24 09:52:25.940587"], ["updated_at", "2015-08-24 09:52:25.940587"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
221
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
222
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
200
223
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
201
224
|
[1m[35m (0.1ms)[0m ROLLBACK
|
202
225
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
203
|
-
|
204
|
-
PushType::
|
205
|
-
|
206
|
-
[1m[35m (0.
|
226
|
+
---------------------------------------------------------------------------
|
227
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0001_anonymous
|
228
|
+
---------------------------------------------------------------------------
|
229
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
207
230
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
208
231
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
209
232
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
210
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
233
|
+
[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", "17"], ["created_at", "2015-08-24 09:52:25.952064"], ["updated_at", "2015-08-24 09:52:25.952064"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
211
234
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
212
235
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
213
|
-
[1m[36mSQL (0.
|
236
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "18"], ["created_at", "2015-08-24 09:52:25.954716"], ["updated_at", "2015-08-24 09:52:25.954716"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
214
237
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
215
238
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
216
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
239
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "19"], ["created_at", "2015-08-24 09:52:25.956676"], ["updated_at", "2015-08-24 09:52:25.956676"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
217
240
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
218
241
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
219
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
242
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "20"], ["created_at", "2015-08-24 09:52:25.958618"], ["updated_at", "2015-08-24 09:52:25.958618"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
243
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
244
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
245
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
246
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
247
|
+
[1m[35m (0.1ms)[0m BEGIN
|
248
|
+
-----------------------------------------------
|
249
|
+
PushType::WysiwygFieldTest: test_0002_anonymous
|
250
|
+
-----------------------------------------------
|
251
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
252
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
253
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
254
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
255
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
256
|
+
[1m[35m (0.1ms)[0m BEGIN
|
257
|
+
-----------------------------------------------
|
258
|
+
PushType::WysiwygFieldTest: test_0001_anonymous
|
259
|
+
-----------------------------------------------
|
260
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
261
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
262
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
263
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
264
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
265
|
+
[1m[35m (0.1ms)[0m BEGIN
|
266
|
+
--------------------------------------------------------------------------------------
|
267
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0001_anonymous
|
268
|
+
--------------------------------------------------------------------------------------
|
269
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
270
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
271
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[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", "image.png"], ["file_size", 2643], ["file_uid", "21"], ["created_at", "2015-08-24 09:52:25.973859"], ["updated_at", "2015-08-24 09:52:25.973859"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
220
274
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
221
275
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
222
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
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", "image.png"], ["file_size", 2643], ["file_uid", "22"], ["created_at", "2015-08-24 09:52:25.976156"], ["updated_at", "2015-08-24 09:52:25.976156"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
223
277
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
224
278
|
[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", "
|
279
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:25.978177"], ["updated_at", "2015-08-24 09:52:25.978177"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
226
280
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
227
281
|
[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", "
|
282
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "24"], ["created_at", "2015-08-24 09:52:25.980186"], ["updated_at", "2015-08-24 09:52:25.980186"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
229
283
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
230
284
|
[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", "
|
285
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "25"], ["created_at", "2015-08-24 09:52:25.982232"], ["updated_at", "2015-08-24 09:52:25.982232"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
232
286
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
233
287
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
234
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
288
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:25.985592"], ["updated_at", "2015-08-24 09:52:25.985592"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
235
289
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
236
290
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
237
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
291
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:25.987986"], ["updated_at", "2015-08-24 09:52:25.987986"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
238
292
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
239
293
|
[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", "
|
294
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:25.990083"], ["updated_at", "2015-08-24 09:52:25.990083"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
241
295
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
242
296
|
[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", "
|
297
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "29"], ["created_at", "2015-08-24 09:52:25.992117"], ["updated_at", "2015-08-24 09:52:25.992117"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
244
298
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
245
299
|
[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", "
|
300
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "30"], ["created_at", "2015-08-24 09:52:25.994058"], ["updated_at", "2015-08-24 09:52:25.994058"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
247
301
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
248
302
|
[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", "
|
303
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "31"], ["created_at", "2015-08-24 09:52:25.996343"], ["updated_at", "2015-08-24 09:52:25.996343"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
250
304
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
251
305
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
252
|
-
[1m[35mSQL (0.
|
306
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "32"], ["created_at", "2015-08-24 09:52:25.998546"], ["updated_at", "2015-08-24 09:52:25.998546"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
253
307
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
254
308
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
255
|
-
[1m[36mSQL (0.
|
309
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "33"], ["created_at", "2015-08-24 09:52:26.000583"], ["updated_at", "2015-08-24 09:52:26.000583"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
256
310
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
257
311
|
[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", "
|
312
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "34"], ["created_at", "2015-08-24 09:52:26.002694"], ["updated_at", "2015-08-24 09:52:26.002694"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
259
313
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
260
314
|
[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", "
|
315
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "35"], ["created_at", "2015-08-24 09:52:26.004707"], ["updated_at", "2015-08-24 09:52:26.004707"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
262
316
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
263
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
264
|
-
Parameters: {"filter"=>"image"}
|
265
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
266
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
267
|
-
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
268
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
269
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
270
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
271
|
-
---------------------------------------------------------------------------------------
|
272
|
-
PushType::WysiwygMediaController::GET #index::filtering for images: test_0002_anonymous
|
273
|
-
---------------------------------------------------------------------------------------
|
274
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
275
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
276
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
277
317
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
278
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
318
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2015-08-24 09:52:26.006873"], ["updated_at", "2015-08-24 09:52:26.006873"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
279
319
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
280
320
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
281
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
321
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "37"], ["created_at", "2015-08-24 09:52:26.008851"], ["updated_at", "2015-08-24 09:52:26.008851"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
282
322
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
283
323
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
284
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
324
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "38"], ["created_at", "2015-08-24 09:52:26.010754"], ["updated_at", "2015-08-24 09:52:26.010754"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
285
325
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
326
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
327
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
328
|
+
[1m[35mPushType::Asset Load (0.6ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
329
|
+
[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
|
330
|
+
Completed 200 OK in 83ms (Views: 0.3ms | ActiveRecord: 0.9ms)
|
331
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
332
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
333
|
+
[1m[35m (0.1ms)[0m BEGIN
|
334
|
+
--------------------------------------------------------------------------------------
|
335
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0002_anonymous
|
336
|
+
--------------------------------------------------------------------------------------
|
337
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
338
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
286
340
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
287
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
341
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "39"], ["created_at", "2015-08-24 09:52:26.100219"], ["updated_at", "2015-08-24 09:52:26.100219"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
288
342
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
289
343
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
290
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
344
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "40"], ["created_at", "2015-08-24 09:52:26.102956"], ["updated_at", "2015-08-24 09:52:26.102956"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
291
345
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
292
346
|
[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", "
|
347
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "41"], ["created_at", "2015-08-24 09:52:26.105314"], ["updated_at", "2015-08-24 09:52:26.105314"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
294
348
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
295
349
|
[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", "
|
350
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "42"], ["created_at", "2015-08-24 09:52:26.107352"], ["updated_at", "2015-08-24 09:52:26.107352"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
297
351
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
298
352
|
[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", "
|
353
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "43"], ["created_at", "2015-08-24 09:52:26.109269"], ["updated_at", "2015-08-24 09:52:26.109269"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
300
354
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
301
355
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
302
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
356
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.111600"], ["updated_at", "2015-08-24 09:52:26.111600"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
303
357
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
304
358
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
305
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
359
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.113517"], ["updated_at", "2015-08-24 09:52:26.113517"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
306
360
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
307
361
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
308
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
362
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.115545"], ["updated_at", "2015-08-24 09:52:26.115545"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
309
363
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
310
364
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
311
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
365
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "47"], ["created_at", "2015-08-24 09:52:26.117602"], ["updated_at", "2015-08-24 09:52:26.117602"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
312
366
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
313
367
|
[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", "
|
368
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "48"], ["created_at", "2015-08-24 09:52:26.119483"], ["updated_at", "2015-08-24 09:52:26.119483"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
315
369
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
316
370
|
[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", "
|
371
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "49"], ["created_at", "2015-08-24 09:52:26.121591"], ["updated_at", "2015-08-24 09:52:26.121591"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
318
372
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
319
373
|
[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", "
|
374
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "50"], ["created_at", "2015-08-24 09:52:26.123523"], ["updated_at", "2015-08-24 09:52:26.123523"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
321
375
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
322
376
|
[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", "
|
377
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "51"], ["created_at", "2015-08-24 09:52:26.125501"], ["updated_at", "2015-08-24 09:52:26.125501"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
324
378
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
325
379
|
[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", "
|
380
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "52"], ["created_at", "2015-08-24 09:52:26.127473"], ["updated_at", "2015-08-24 09:52:26.127473"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
327
381
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
328
382
|
[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", "
|
383
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "53"], ["created_at", "2015-08-24 09:52:26.129394"], ["updated_at", "2015-08-24 09:52:26.129394"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
384
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
385
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
386
|
+
[1m[35mSQL (0.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", "54"], ["created_at", "2015-08-24 09:52:26.131377"], ["updated_at", "2015-08-24 09:52:26.131377"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
387
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
388
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
389
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "55"], ["created_at", "2015-08-24 09:52:26.133511"], ["updated_at", "2015-08-24 09:52:26.133511"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
330
390
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
331
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
332
|
-
Parameters: {"filter"=>"image"}
|
333
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
334
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
335
|
-
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
336
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
337
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
338
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
339
|
-
---------------------------------------------------------------------------------------
|
340
|
-
PushType::WysiwygMediaController::GET #index::filtering for images: test_0004_anonymous
|
341
|
-
---------------------------------------------------------------------------------------
|
342
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
343
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
344
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
345
391
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
346
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
392
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "56"], ["created_at", "2015-08-24 09:52:26.135592"], ["updated_at", "2015-08-24 09:52:26.135592"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
347
393
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
394
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
395
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
396
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
397
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
398
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
399
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
400
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
401
|
+
[1m[35m (0.1ms)[0m BEGIN
|
402
|
+
--------------------------------------------------------------------------------------
|
403
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0003_anonymous
|
404
|
+
--------------------------------------------------------------------------------------
|
405
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
406
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
407
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
348
408
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
349
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
409
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.143126"], ["updated_at", "2015-08-24 09:52:26.143126"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
350
410
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
351
411
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
352
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
412
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.145575"], ["updated_at", "2015-08-24 09:52:26.145575"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
353
413
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
354
414
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
355
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
415
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.147555"], ["updated_at", "2015-08-24 09:52:26.147555"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
356
416
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
357
417
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
358
|
-
[1m[35mSQL (0.
|
418
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "60"], ["created_at", "2015-08-24 09:52:26.149618"], ["updated_at", "2015-08-24 09:52:26.149618"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
359
419
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
360
420
|
[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", "
|
421
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "61"], ["created_at", "2015-08-24 09:52:26.151533"], ["updated_at", "2015-08-24 09:52:26.151533"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
362
422
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
363
423
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
364
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
424
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.153586"], ["updated_at", "2015-08-24 09:52:26.153586"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
365
425
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
366
426
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
367
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
427
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.155671"], ["updated_at", "2015-08-24 09:52:26.155671"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
368
428
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
369
429
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
370
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
430
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "64"], ["created_at", "2015-08-24 09:52:26.157797"], ["updated_at", "2015-08-24 09:52:26.157797"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
371
431
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
372
432
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
373
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
433
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "65"], ["created_at", "2015-08-24 09:52:26.159739"], ["updated_at", "2015-08-24 09:52:26.159739"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
374
434
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
375
435
|
[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", "
|
436
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "66"], ["created_at", "2015-08-24 09:52:26.161726"], ["updated_at", "2015-08-24 09:52:26.161726"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
377
437
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
378
438
|
[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", "
|
439
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "67"], ["created_at", "2015-08-24 09:52:26.163661"], ["updated_at", "2015-08-24 09:52:26.163661"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
380
440
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
381
441
|
[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", "
|
442
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "68"], ["created_at", "2015-08-24 09:52:26.165743"], ["updated_at", "2015-08-24 09:52:26.165743"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
383
443
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
384
444
|
[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", "
|
445
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "69"], ["created_at", "2015-08-24 09:52:26.167931"], ["updated_at", "2015-08-24 09:52:26.167931"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
386
446
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
387
447
|
[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", "
|
448
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "70"], ["created_at", "2015-08-24 09:52:26.169971"], ["updated_at", "2015-08-24 09:52:26.169971"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
389
449
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
390
450
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
391
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
451
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "71"], ["created_at", "2015-08-24 09:52:26.171932"], ["updated_at", "2015-08-24 09:52:26.171932"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
392
452
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
393
453
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
394
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
454
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2015-08-24 09:52:26.173825"], ["updated_at", "2015-08-24 09:52:26.173825"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
395
455
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
396
456
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
397
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
457
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "73"], ["created_at", "2015-08-24 09:52:26.175824"], ["updated_at", "2015-08-24 09:52:26.175824"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
398
458
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
399
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
400
|
-
Parameters: {"filter"=>"image"}
|
401
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
402
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
403
|
-
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
404
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
405
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
406
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
407
|
-
----------------------------------------------------------------------
|
408
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0004_anonymous
|
409
|
-
----------------------------------------------------------------------
|
410
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
411
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
412
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
413
459
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
414
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
460
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "74"], ["created_at", "2015-08-24 09:52:26.178122"], ["updated_at", "2015-08-24 09:52:26.178122"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
415
461
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
462
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
463
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
464
|
+
[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
|
465
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
466
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
416
467
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
417
|
-
[1m[36m (0.
|
418
|
-
[1m[35m (0.
|
419
|
-
|
420
|
-
PushType::
|
421
|
-
|
422
|
-
[1m[36m (0.
|
468
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
469
|
+
[1m[35m (0.1ms)[0m BEGIN
|
470
|
+
--------------------------------------------------------------------------------------
|
471
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0004_anonymous
|
472
|
+
--------------------------------------------------------------------------------------
|
473
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
423
474
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
424
475
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
425
476
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
426
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
477
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "75"], ["created_at", "2015-08-24 09:52:26.185693"], ["updated_at", "2015-08-24 09:52:26.185693"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
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", "image.png"], ["file_size", 2643], ["file_uid", "76"], ["created_at", "2015-08-24 09:52:26.187921"], ["updated_at", "2015-08-24 09:52:26.187921"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
481
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
482
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
483
|
+
[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-08-24 09:52:26.189922"], ["updated_at", "2015-08-24 09:52:26.189922"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
484
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
485
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
486
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "78"], ["created_at", "2015-08-24 09:52:26.192057"], ["updated_at", "2015-08-24 09:52:26.192057"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
487
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
488
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
489
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "79"], ["created_at", "2015-08-24 09:52:26.194044"], ["updated_at", "2015-08-24 09:52:26.194044"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
490
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
491
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
492
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "80"], ["created_at", "2015-08-24 09:52:26.196124"], ["updated_at", "2015-08-24 09:52:26.196124"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
493
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
494
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
495
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "81"], ["created_at", "2015-08-24 09:52:26.198260"], ["updated_at", "2015-08-24 09:52:26.198260"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
496
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
497
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
498
|
+
[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", "82"], ["created_at", "2015-08-24 09:52:26.214562"], ["updated_at", "2015-08-24 09:52:26.214562"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
499
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
500
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
501
|
+
[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", "83"], ["created_at", "2015-08-24 09:52:26.216923"], ["updated_at", "2015-08-24 09:52:26.216923"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
502
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
503
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
504
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "84"], ["created_at", "2015-08-24 09:52:26.219855"], ["updated_at", "2015-08-24 09:52:26.219855"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
505
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
506
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
507
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "85"], ["created_at", "2015-08-24 09:52:26.222593"], ["updated_at", "2015-08-24 09:52:26.222593"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
508
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
509
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
510
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "86"], ["created_at", "2015-08-24 09:52:26.224654"], ["updated_at", "2015-08-24 09:52:26.224654"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
511
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
512
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
513
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "87"], ["created_at", "2015-08-24 09:52:26.226680"], ["updated_at", "2015-08-24 09:52:26.226680"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
514
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
515
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
516
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "88"], ["created_at", "2015-08-24 09:52:26.228912"], ["updated_at", "2015-08-24 09:52:26.228912"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
517
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
518
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
519
|
+
[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-08-24 09:52:26.231388"], ["updated_at", "2015-08-24 09:52:26.231388"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
520
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
521
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
522
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "90"], ["created_at", "2015-08-24 09:52:26.234116"], ["updated_at", "2015-08-24 09:52:26.234116"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
523
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
524
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
525
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "91"], ["created_at", "2015-08-24 09:52:26.236561"], ["updated_at", "2015-08-24 09:52:26.236561"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
427
526
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
428
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
429
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
430
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
431
|
-
----------------------------------------------------------------------
|
432
|
-
PushType::WysiwygMediaHelper::#wysiwyg_asset_hash: test_0005_anonymous
|
433
|
-
----------------------------------------------------------------------
|
434
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
435
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
436
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
437
527
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
438
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
528
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "92"], ["created_at", "2015-08-24 09:52:26.238805"], ["updated_at", "2015-08-24 09:52:26.238805"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
439
529
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
530
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
531
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
532
|
+
[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
|
533
|
+
[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
|
534
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
440
535
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
441
536
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
442
537
|
[1m[35m (0.1ms)[0m BEGIN
|
443
|
-
|
444
|
-
PushType::
|
445
|
-
|
538
|
+
--------------------------------------------------------------------------
|
539
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0004_anonymous
|
540
|
+
--------------------------------------------------------------------------
|
446
541
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
447
542
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
448
543
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
449
544
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
450
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
545
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "93"], ["created_at", "2015-08-24 09:52:26.249169"], ["updated_at", "2015-08-24 09:52:26.249169"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
451
546
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
452
547
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
453
548
|
[1m[35m (0.1ms)[0m ROLLBACK
|
454
549
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
455
|
-
|
456
|
-
PushType::
|
457
|
-
|
458
|
-
[1m[35m (0.
|
459
|
-
[1m[36m (0.
|
550
|
+
--------------------------------------------------------------------------
|
551
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0005_anonymous
|
552
|
+
--------------------------------------------------------------------------
|
553
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
554
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
460
555
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
461
556
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
462
|
-
[1m[35mSQL (0.
|
557
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "94"], ["created_at", "2015-08-24 09:52:26.253543"], ["updated_at", "2015-08-24 09:52:26.253543"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
463
558
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
464
559
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
465
560
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
466
561
|
[1m[35m (0.1ms)[0m BEGIN
|
467
|
-
|
468
|
-
PushType::
|
469
|
-
|
470
|
-
[1m[36m (0.
|
562
|
+
--------------------------------------------------------------------------
|
563
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0001_anonymous
|
564
|
+
--------------------------------------------------------------------------
|
565
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
471
566
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
472
567
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
473
568
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
474
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
569
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "95"], ["created_at", "2015-08-24 09:52:26.258187"], ["updated_at", "2015-08-24 09:52:26.258187"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
475
570
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
476
571
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
477
572
|
[1m[35m (0.1ms)[0m ROLLBACK
|
478
573
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
479
|
-
|
480
|
-
PushType::
|
481
|
-
|
482
|
-
[1m[35m (0.
|
574
|
+
--------------------------------------------------------------------------
|
575
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0002_anonymous
|
576
|
+
--------------------------------------------------------------------------
|
577
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
483
578
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
484
579
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
485
580
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
486
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
581
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "96"], ["created_at", "2015-08-24 09:52:26.262010"], ["updated_at", "2015-08-24 09:52:26.262010"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
487
582
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
488
583
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
489
584
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
490
585
|
[1m[35m (0.1ms)[0m BEGIN
|
491
|
-
|
492
|
-
PushType::
|
493
|
-
|
494
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
495
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
586
|
+
--------------------------------------------------------------------------
|
587
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0006_anonymous
|
588
|
+
--------------------------------------------------------------------------
|
496
589
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
497
|
-
|
498
|
-
Parameters: {"asset"=>{}}
|
499
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
500
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
501
|
-
Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
502
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
503
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
504
|
-
[1m[35m (0.1ms)[0m BEGIN
|
505
|
-
----------------------------------------------------------------------------------------
|
506
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0002_anonymous
|
507
|
-
----------------------------------------------------------------------------------------
|
508
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
509
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
510
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
511
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
512
|
-
Parameters: {"asset"=>{}}
|
513
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
514
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
515
|
-
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
516
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
517
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
518
|
-
[1m[35m (0.1ms)[0m BEGIN
|
519
|
-
----------------------------------------------------------------------------------------
|
520
|
-
PushType::WysiwygMediaController::POST #create::with in-valid asset: test_0003_anonymous
|
521
|
-
----------------------------------------------------------------------------------------
|
522
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
523
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
590
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
524
591
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
525
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
526
|
-
Parameters: {"asset"=>{}}
|
527
592
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
528
|
-
[1m[
|
529
|
-
|
593
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "97"], ["created_at", "2015-08-24 09:52:26.265999"], ["updated_at", "2015-08-24 09:52:26.265999"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
594
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
595
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
596
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
597
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
598
|
+
--------------------------------------------------------------------------
|
599
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0003_anonymous
|
600
|
+
--------------------------------------------------------------------------
|
601
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
602
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
603
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
604
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
605
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "98"], ["created_at", "2015-08-24 09:52:26.270234"], ["updated_at", "2015-08-24 09:52:26.270234"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
606
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
530
607
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
531
608
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
532
609
|
[1m[35m (0.1ms)[0m BEGIN
|
533
|
-
|
534
|
-
PushType::
|
535
|
-
|
610
|
+
--------------------------------------------------------------------------
|
611
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0007_anonymous
|
612
|
+
--------------------------------------------------------------------------
|
536
613
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
537
614
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
538
615
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
539
616
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
540
|
-
[1m[36mSQL (0.
|
617
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "99"], ["created_at", "2015-08-24 09:52:26.274324"], ["updated_at", "2015-08-24 09:52:26.274324"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
541
618
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
619
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
620
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
621
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
622
|
+
-------------------------------------------------------------------------------------------
|
623
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0001_anonymous
|
624
|
+
-------------------------------------------------------------------------------------------
|
625
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
626
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
627
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
542
628
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
543
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
629
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "100"], ["created_at", "2015-08-24 09:52:26.280281"], ["updated_at", "2015-08-24 09:52:26.280281"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
544
630
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
545
631
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
546
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
632
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "101"], ["created_at", "2015-08-24 09:52:26.282638"], ["updated_at", "2015-08-24 09:52:26.282638"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
547
633
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
548
634
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
549
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
635
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "102"], ["created_at", "2015-08-24 09:52:26.284798"], ["updated_at", "2015-08-24 09:52:26.284798"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
550
636
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
551
637
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
552
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
638
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "103"], ["created_at", "2015-08-24 09:52:26.287184"], ["updated_at", "2015-08-24 09:52:26.287184"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
553
639
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
554
640
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
555
|
-
[1m[35mSQL (
|
641
|
+
[1m[35mSQL (22.0ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "104"], ["created_at", "2015-08-24 09:52:26.289431"], ["updated_at", "2015-08-24 09:52:26.289431"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
556
642
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
557
643
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
558
|
-
[1m[36mSQL (
|
644
|
+
[1m[36mSQL (5.8ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.314016"], ["updated_at", "2015-08-24 09:52:26.314016"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
559
645
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
560
646
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
561
|
-
[1m[35mSQL (0.
|
647
|
+
[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", "106"], ["created_at", "2015-08-24 09:52:26.321835"], ["updated_at", "2015-08-24 09:52:26.321835"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
562
648
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
563
649
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
564
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
650
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.324184"], ["updated_at", "2015-08-24 09:52:26.324184"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
565
651
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
566
652
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
567
|
-
[1m[35mSQL (0.
|
653
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.326769"], ["updated_at", "2015-08-24 09:52:26.326769"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
568
654
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
569
655
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
570
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
571
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
572
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
573
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "91"], ["created_at", "2015-08-16 15:55:27.050670"], ["updated_at", "2015-08-16 15:55:27.050670"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
574
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
575
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
576
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "92"], ["created_at", "2015-08-16 15:55:27.052732"], ["updated_at", "2015-08-16 15:55:27.052732"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
656
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "109"], ["created_at", "2015-08-24 09:52:26.328834"], ["updated_at", "2015-08-24 09:52:26.328834"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
577
657
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
578
658
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
579
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
659
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "110"], ["created_at", "2015-08-24 09:52:26.330775"], ["updated_at", "2015-08-24 09:52:26.330775"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
580
660
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
581
661
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
582
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
662
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "111"], ["created_at", "2015-08-24 09:52:26.332752"], ["updated_at", "2015-08-24 09:52:26.332752"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
583
663
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
584
664
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
585
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
665
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "112"], ["created_at", "2015-08-24 09:52:26.334766"], ["updated_at", "2015-08-24 09:52:26.334766"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
586
666
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
587
667
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
588
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
668
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "113"], ["created_at", "2015-08-24 09:52:26.336961"], ["updated_at", "2015-08-24 09:52:26.336961"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
589
669
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
590
670
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
591
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
671
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.339028"], ["updated_at", "2015-08-24 09:52:26.339028"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
592
672
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
593
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
594
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
595
|
-
[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
|
596
|
-
[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
|
597
|
-
Completed 200 OK in 110ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
598
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
599
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
600
|
-
[1m[35m (0.0ms)[0m BEGIN
|
601
|
-
----------------------------------------------------------------------------------
|
602
|
-
PushType::WysiwygMediaController::GET #index::with pagination: test_0002_anonymous
|
603
|
-
----------------------------------------------------------------------------------
|
604
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
605
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
606
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
607
673
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
608
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
674
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.341065"], ["updated_at", "2015-08-24 09:52:26.341065"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
609
675
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
610
676
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
611
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
677
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.343133"], ["updated_at", "2015-08-24 09:52:26.343133"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
612
678
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
613
679
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
614
|
-
[1m[36mSQL (0.
|
680
|
+
[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", "117"], ["created_at", "2015-08-24 09:52:26.345111"], ["updated_at", "2015-08-24 09:52:26.345111"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
615
681
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
682
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
683
|
+
Parameters: {"filter"=>"image"}
|
684
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
685
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
686
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
687
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
688
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
689
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
690
|
+
-------------------------------------------------------------------------------------------
|
691
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0002_anonymous
|
692
|
+
-------------------------------------------------------------------------------------------
|
693
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
694
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
695
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
616
696
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
617
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
697
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "118"], ["created_at", "2015-08-24 09:52:26.353423"], ["updated_at", "2015-08-24 09:52:26.353423"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
618
698
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
619
699
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
620
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
700
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "119"], ["created_at", "2015-08-24 09:52:26.355449"], ["updated_at", "2015-08-24 09:52:26.355449"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
621
701
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
622
702
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
623
|
-
[1m[35mSQL (0.
|
703
|
+
[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", "120"], ["created_at", "2015-08-24 09:52:26.357562"], ["updated_at", "2015-08-24 09:52:26.357562"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
624
704
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
625
705
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
626
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
706
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "121"], ["created_at", "2015-08-24 09:52:26.359777"], ["updated_at", "2015-08-24 09:52:26.359777"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
627
707
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
628
708
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
629
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
709
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "122"], ["created_at", "2015-08-24 09:52:26.361872"], ["updated_at", "2015-08-24 09:52:26.361872"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
630
710
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
631
711
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
632
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
712
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.364007"], ["updated_at", "2015-08-24 09:52:26.364007"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
633
713
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
634
714
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
635
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
715
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.366098"], ["updated_at", "2015-08-24 09:52:26.366098"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
636
716
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
637
717
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
638
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
718
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.368041"], ["updated_at", "2015-08-24 09:52:26.368041"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
639
719
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
640
720
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
641
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
721
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.370288"], ["updated_at", "2015-08-24 09:52:26.370288"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
642
722
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
643
723
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
644
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
724
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "127"], ["created_at", "2015-08-24 09:52:26.372308"], ["updated_at", "2015-08-24 09:52:26.372308"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
645
725
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
646
726
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
647
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
727
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "128"], ["created_at", "2015-08-24 09:52:26.374351"], ["updated_at", "2015-08-24 09:52:26.374351"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
648
728
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
649
729
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
650
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
730
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "129"], ["created_at", "2015-08-24 09:52:26.376419"], ["updated_at", "2015-08-24 09:52:26.376419"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
651
731
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
652
732
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
653
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
733
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "130"], ["created_at", "2015-08-24 09:52:26.378505"], ["updated_at", "2015-08-24 09:52:26.378505"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
654
734
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
655
735
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
656
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
736
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "131"], ["created_at", "2015-08-24 09:52:26.380572"], ["updated_at", "2015-08-24 09:52:26.380572"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
657
737
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
658
738
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
659
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
739
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.382563"], ["updated_at", "2015-08-24 09:52:26.382563"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
660
740
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
661
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
662
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
663
|
-
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
664
|
-
[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
|
665
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
666
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
667
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
668
|
-
[1m[35m (0.1ms)[0m BEGIN
|
669
|
-
----------------------------------------------------------------------------------
|
670
|
-
PushType::WysiwygMediaController::GET #index::with pagination: test_0003_anonymous
|
671
|
-
----------------------------------------------------------------------------------
|
672
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
673
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
674
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
675
741
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
676
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
742
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.384700"], ["updated_at", "2015-08-24 09:52:26.384700"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
677
743
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
678
744
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
679
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
745
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.386809"], ["updated_at", "2015-08-24 09:52:26.386809"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
680
746
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
681
747
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
682
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
683
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
684
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
685
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "119"], ["created_at", "2015-08-16 15:55:27.228936"], ["updated_at", "2015-08-16 15:55:27.228936"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
686
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
687
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
688
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "120"], ["created_at", "2015-08-16 15:55:27.230928"], ["updated_at", "2015-08-16 15:55:27.230928"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
748
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.389126"], ["updated_at", "2015-08-24 09:52:26.389126"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
689
749
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
750
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
751
|
+
Parameters: {"filter"=>"image"}
|
752
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
753
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
754
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
755
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
756
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
757
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
758
|
+
-------------------------------------------------------------------------------------------
|
759
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0004_anonymous
|
760
|
+
-------------------------------------------------------------------------------------------
|
761
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
763
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
690
764
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
691
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
765
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "136"], ["created_at", "2015-08-24 09:52:26.397507"], ["updated_at", "2015-08-24 09:52:26.397507"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
692
766
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
693
767
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
694
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
768
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "137"], ["created_at", "2015-08-24 09:52:26.399622"], ["updated_at", "2015-08-24 09:52:26.399622"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
695
769
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
696
770
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
697
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
771
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "138"], ["created_at", "2015-08-24 09:52:26.401896"], ["updated_at", "2015-08-24 09:52:26.401896"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
698
772
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
699
773
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
700
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
774
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "139"], ["created_at", "2015-08-24 09:52:26.404128"], ["updated_at", "2015-08-24 09:52:26.404128"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
701
775
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
702
776
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
703
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
777
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "140"], ["created_at", "2015-08-24 09:52:26.406264"], ["updated_at", "2015-08-24 09:52:26.406264"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
704
778
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
705
779
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
706
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
780
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.408378"], ["updated_at", "2015-08-24 09:52:26.408378"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
707
781
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
708
782
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
709
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
783
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.410431"], ["updated_at", "2015-08-24 09:52:26.410431"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
710
784
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
711
785
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
712
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
786
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.412396"], ["updated_at", "2015-08-24 09:52:26.412396"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
713
787
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
714
788
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
715
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
789
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.414549"], ["updated_at", "2015-08-24 09:52:26.414549"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
716
790
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
717
791
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
718
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
792
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "145"], ["created_at", "2015-08-24 09:52:26.416653"], ["updated_at", "2015-08-24 09:52:26.416653"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
719
793
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
720
794
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
721
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
795
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "146"], ["created_at", "2015-08-24 09:52:26.418761"], ["updated_at", "2015-08-24 09:52:26.418761"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
722
796
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
723
797
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
724
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
798
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "147"], ["created_at", "2015-08-24 09:52:26.420801"], ["updated_at", "2015-08-24 09:52:26.420801"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
725
799
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
726
800
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
727
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
801
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "148"], ["created_at", "2015-08-24 09:52:26.422780"], ["updated_at", "2015-08-24 09:52:26.422780"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
728
802
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
729
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
730
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
731
|
-
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12
|
732
|
-
[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
|
733
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
734
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
735
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
736
|
-
[1m[35m (0.1ms)[0m BEGIN
|
737
|
-
----------------------------------------------------------------------------------
|
738
|
-
PushType::WysiwygMediaController::GET #index::with pagination: test_0004_anonymous
|
739
|
-
----------------------------------------------------------------------------------
|
740
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
741
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
742
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
743
803
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
744
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
804
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "149"], ["created_at", "2015-08-24 09:52:26.424729"], ["updated_at", "2015-08-24 09:52:26.424729"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
745
805
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
746
806
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
747
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
807
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "150"], ["created_at", "2015-08-24 09:52:26.426791"], ["updated_at", "2015-08-24 09:52:26.426791"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
748
808
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
749
809
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
750
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
810
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "151"], ["created_at", "2015-08-24 09:52:26.428824"], ["updated_at", "2015-08-24 09:52:26.428824"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
751
811
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
752
812
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
753
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
813
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "152"], ["created_at", "2015-08-24 09:52:26.430900"], ["updated_at", "2015-08-24 09:52:26.430900"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
754
814
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
755
815
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
756
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
816
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "153"], ["created_at", "2015-08-24 09:52:26.432983"], ["updated_at", "2015-08-24 09:52:26.432983"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
757
817
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
818
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
819
|
+
Parameters: {"filter"=>"image"}
|
820
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
821
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
822
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
823
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
824
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
825
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
826
|
+
-------------------------------------------------------------------------------------------
|
827
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0003_anonymous
|
828
|
+
-------------------------------------------------------------------------------------------
|
829
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
830
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
831
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
758
832
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
759
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
833
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.441290"], ["updated_at", "2015-08-24 09:52:26.441290"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
760
834
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
761
835
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
762
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
836
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "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-08-24 09:52:26.443484"], ["updated_at", "2015-08-24 09:52:26.443484"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
763
837
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
764
838
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
765
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
839
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_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-08-24 09:52:26.445598"], ["updated_at", "2015-08-24 09:52:26.445598"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
766
840
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
767
841
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
768
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
842
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "157"], ["created_at", "2015-08-24 09:52:26.447716"], ["updated_at", "2015-08-24 09:52:26.447716"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
769
843
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
770
844
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
771
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
845
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "158"], ["created_at", "2015-08-24 09:52:26.449875"], ["updated_at", "2015-08-24 09:52:26.449875"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
772
846
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
773
847
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
774
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
848
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "159"], ["created_at", "2015-08-24 09:52:26.452105"], ["updated_at", "2015-08-24 09:52:26.452105"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
775
849
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
776
850
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
777
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
851
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "160"], ["created_at", "2015-08-24 09:52:26.454703"], ["updated_at", "2015-08-24 09:52:26.454703"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
778
852
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
779
853
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
780
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
854
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "161"], ["created_at", "2015-08-24 09:52:26.457079"], ["updated_at", "2015-08-24 09:52:26.457079"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
781
855
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
782
856
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
783
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
857
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "162"], ["created_at", "2015-08-24 09:52:26.459381"], ["updated_at", "2015-08-24 09:52:26.459381"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
784
858
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
785
859
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
786
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
860
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "163"], ["created_at", "2015-08-24 09:52:26.461487"], ["updated_at", "2015-08-24 09:52:26.461487"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
787
861
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
788
862
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
789
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
863
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "164"], ["created_at", "2015-08-24 09:52:26.463450"], ["updated_at", "2015-08-24 09:52:26.463450"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
790
864
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
791
865
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
792
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
866
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "165"], ["created_at", "2015-08-24 09:52:26.465702"], ["updated_at", "2015-08-24 09:52:26.465702"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
793
867
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
794
868
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
795
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
869
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "166"], ["created_at", "2015-08-24 09:52:26.467934"], ["updated_at", "2015-08-24 09:52:26.467934"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
796
870
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
797
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
798
|
-
Parameters: {"filter"=>"file", "page"=>2}
|
799
|
-
[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
|
800
|
-
[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
|
801
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
802
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
803
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
804
|
-
[1m[35m (0.1ms)[0m BEGIN
|
805
|
-
--------------------------------------------------------------------------------------
|
806
|
-
PushType::WysiwygMediaController::GET #index::filtering for files: test_0004_anonymous
|
807
|
-
--------------------------------------------------------------------------------------
|
808
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
809
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
810
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
811
871
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
812
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
872
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "167"], ["created_at", "2015-08-24 09:52:26.470044"], ["updated_at", "2015-08-24 09:52:26.470044"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
813
873
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
814
874
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
815
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
875
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "168"], ["created_at", "2015-08-24 09:52:26.472391"], ["updated_at", "2015-08-24 09:52:26.472391"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
816
876
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
817
877
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
818
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
878
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "169"], ["created_at", "2015-08-24 09:52:26.474433"], ["updated_at", "2015-08-24 09:52:26.474433"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
819
879
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
820
880
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
821
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
881
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "170"], ["created_at", "2015-08-24 09:52:26.476786"], ["updated_at", "2015-08-24 09:52:26.476786"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
822
882
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
823
883
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
824
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
884
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "171"], ["created_at", "2015-08-24 09:52:26.479148"], ["updated_at", "2015-08-24 09:52:26.479148"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
825
885
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
886
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
887
|
+
Parameters: {"filter"=>"image"}
|
888
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
889
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
890
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
891
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
892
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
893
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
894
|
+
--------------------------------------------------------------------------------------------
|
895
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0002_anonymous
|
896
|
+
--------------------------------------------------------------------------------------------
|
897
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
898
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
899
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
900
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
901
|
+
Parameters: {"asset"=>{}}
|
826
902
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
827
|
-
[1m[
|
828
|
-
|
829
|
-
[1m[
|
830
|
-
[1m[
|
831
|
-
[1m[
|
903
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
904
|
+
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
905
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
906
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
907
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
908
|
+
--------------------------------------------------------------------------------------------
|
909
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0001_anonymous
|
910
|
+
--------------------------------------------------------------------------------------------
|
911
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
912
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
913
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
914
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
915
|
+
Parameters: {"asset"=>{}}
|
832
916
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
833
|
-
[1m[
|
834
|
-
|
835
|
-
[1m[
|
836
|
-
[1m[
|
837
|
-
[1m[
|
917
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
918
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
919
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
920
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
921
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
922
|
+
--------------------------------------------------------------------------------------------
|
923
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0003_anonymous
|
924
|
+
--------------------------------------------------------------------------------------------
|
925
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
926
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
927
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
928
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
929
|
+
Parameters: {"asset"=>{}}
|
838
930
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
839
|
-
[1m[
|
840
|
-
|
841
|
-
[1m[
|
842
|
-
[1m[
|
843
|
-
[1m[
|
931
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
932
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
933
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
934
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
935
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
936
|
+
-----------------------------------------------------------------------------------------
|
937
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0002_anonymous
|
938
|
+
-----------------------------------------------------------------------------------------
|
939
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
940
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
941
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
942
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
943
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9da9c0a0a0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150824-2942-1bdl8zz>>}}
|
844
944
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
845
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
945
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "172"], ["created_at", "2015-08-24 09:52:26.512129"], ["updated_at", "2015-08-24 09:52:26.512129"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
846
946
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
947
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
948
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
949
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
950
|
+
[1m[35m (0.1ms)[0m BEGIN
|
951
|
+
-----------------------------------------------------------------------------------------
|
952
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0001_anonymous
|
953
|
+
-----------------------------------------------------------------------------------------
|
954
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
955
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
956
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
957
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
958
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9daa661058 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150824-2942-1um3yov>>}}
|
847
959
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
848
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
960
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "173"], ["created_at", "2015-08-24 09:52:26.517920"], ["updated_at", "2015-08-24 09:52:26.517920"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
849
961
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
962
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
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::WysiwygMediaControllerTest::POST #create::with valid asset: test_0003_anonymous
|
968
|
+
-----------------------------------------------------------------------------------------
|
969
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
970
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
971
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
972
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
973
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9dabde9568 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150824-2942-1q2dzjl>>}}
|
850
974
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
851
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
975
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "174"], ["created_at", "2015-08-24 09:52:26.524182"], ["updated_at", "2015-08-24 09:52:26.524182"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
852
976
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
977
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
978
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
979
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
980
|
+
[1m[35m (0.1ms)[0m BEGIN
|
981
|
+
---------------------------------------------------------------------------
|
982
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0001_anonymous
|
983
|
+
---------------------------------------------------------------------------
|
984
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
985
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
986
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
853
987
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
854
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
988
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "175"], ["created_at", "2015-08-24 09:52:26.530370"], ["updated_at", "2015-08-24 09:52:26.530370"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
855
989
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
856
990
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
857
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
991
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "176"], ["created_at", "2015-08-24 09:52:26.532670"], ["updated_at", "2015-08-24 09:52:26.532670"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
858
992
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
859
993
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
860
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
994
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "177"], ["created_at", "2015-08-24 09:52:26.534886"], ["updated_at", "2015-08-24 09:52:26.534886"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
861
995
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
862
996
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
863
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
997
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "178"], ["created_at", "2015-08-24 09:52:26.537148"], ["updated_at", "2015-08-24 09:52:26.537148"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
864
998
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
865
|
-
|
866
|
-
|
867
|
-
[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
|
868
|
-
[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
|
869
|
-
Completed 200 OK in 25ms (Views: 0.9ms | ActiveRecord: 0.6ms)
|
999
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
1000
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
870
1001
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
871
1002
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
872
1003
|
[1m[35m (0.1ms)[0m BEGIN
|
873
|
-
|
874
|
-
PushType::
|
875
|
-
|
876
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
877
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1004
|
+
---------------------------------------------------------------------------
|
1005
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0004_anonymous
|
1006
|
+
---------------------------------------------------------------------------
|
878
1007
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1008
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1009
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
879
1010
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
880
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1011
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "179"], ["created_at", "2015-08-24 09:52:26.543186"], ["updated_at", "2015-08-24 09:52:26.543186"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
881
1012
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
882
1013
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
883
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1014
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "180"], ["created_at", "2015-08-24 09:52:26.545405"], ["updated_at", "2015-08-24 09:52:26.545405"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
884
1015
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
885
1016
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
886
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1017
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "181"], ["created_at", "2015-08-24 09:52:26.547409"], ["updated_at", "2015-08-24 09:52:26.547409"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
887
1018
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
888
1019
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
889
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1020
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "182"], ["created_at", "2015-08-24 09:52:26.549534"], ["updated_at", "2015-08-24 09:52:26.549534"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
890
1021
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1022
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
1023
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1024
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1025
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1026
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1027
|
+
---------------------------------------------------------------------------
|
1028
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0005_anonymous
|
1029
|
+
---------------------------------------------------------------------------
|
1030
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1031
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1032
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
891
1033
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
892
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1034
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "183"], ["created_at", "2015-08-24 09:52:26.555096"], ["updated_at", "2015-08-24 09:52:26.555096"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
893
1035
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
894
1036
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
895
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1037
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "184"], ["created_at", "2015-08-24 09:52:26.557451"], ["updated_at", "2015-08-24 09:52:26.557451"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
896
1038
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
897
1039
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
898
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1040
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "185"], ["created_at", "2015-08-24 09:52:26.559643"], ["updated_at", "2015-08-24 09:52:26.559643"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
899
1041
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
900
1042
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
901
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1043
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "186"], ["created_at", "2015-08-24 09:52:26.561769"], ["updated_at", "2015-08-24 09:52:26.561769"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
902
1044
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1045
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
1046
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1047
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1048
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1049
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1050
|
+
---------------------------------------------------------------------------
|
1051
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0002_anonymous
|
1052
|
+
---------------------------------------------------------------------------
|
1053
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1054
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1055
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
903
1056
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
904
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
905
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
906
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
907
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "179"], ["created_at", "2015-08-16 15:55:27.397376"], ["updated_at", "2015-08-16 15:55:27.397376"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
908
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
909
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
910
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "180"], ["created_at", "2015-08-16 15:55:27.399878"], ["updated_at", "2015-08-16 15:55:27.399878"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1057
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "187"], ["created_at", "2015-08-24 09:52:26.567057"], ["updated_at", "2015-08-24 09:52:26.567057"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
911
1058
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
912
1059
|
[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", "
|
1060
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "188"], ["created_at", "2015-08-24 09:52:26.569096"], ["updated_at", "2015-08-24 09:52:26.569096"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
914
1061
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
915
1062
|
[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", "
|
1063
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "189"], ["created_at", "2015-08-24 09:52:26.571037"], ["updated_at", "2015-08-24 09:52:26.571037"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
917
1064
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
918
1065
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
919
|
-
[1m[35mSQL (0.
|
1066
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "190"], ["created_at", "2015-08-24 09:52:26.573042"], ["updated_at", "2015-08-24 09:52:26.573042"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
920
1067
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1068
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
1069
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1070
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1071
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1072
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1073
|
+
---------------------------------------------------------------------------
|
1074
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0003_anonymous
|
1075
|
+
---------------------------------------------------------------------------
|
1076
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1077
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1078
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
921
1079
|
[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", "
|
1080
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "191"], ["created_at", "2015-08-24 09:52:26.578218"], ["updated_at", "2015-08-24 09:52:26.578218"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
923
1081
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
924
1082
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
925
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1083
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "192"], ["created_at", "2015-08-24 09:52:26.580251"], ["updated_at", "2015-08-24 09:52:26.580251"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
926
1084
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
927
1085
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
928
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1086
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "193"], ["created_at", "2015-08-24 09:52:26.582224"], ["updated_at", "2015-08-24 09:52:26.582224"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
929
1087
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
930
1088
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
931
|
-
[1m[35mSQL (0.
|
1089
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "194"], ["created_at", "2015-08-24 09:52:26.584111"], ["updated_at", "2015-08-24 09:52:26.584111"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
932
1090
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
933
|
-
|
934
|
-
|
935
|
-
[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
|
936
|
-
[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
|
937
|
-
Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
1091
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
1092
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
938
1093
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
939
1094
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
940
1095
|
[1m[35m (0.1ms)[0m BEGIN
|
941
|
-
|
942
|
-
PushType::
|
943
|
-
|
944
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
945
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1096
|
+
------------------------------------------------------------------------------------------
|
1097
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0003_anonymous
|
1098
|
+
------------------------------------------------------------------------------------------
|
946
1099
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1100
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1101
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
947
1102
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
948
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1103
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "195"], ["created_at", "2015-08-24 09:52:26.590474"], ["updated_at", "2015-08-24 09:52:26.590474"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
949
1104
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
950
1105
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
951
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1106
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "196"], ["created_at", "2015-08-24 09:52:26.592614"], ["updated_at", "2015-08-24 09:52:26.592614"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
952
1107
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
953
1108
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
954
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1109
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "197"], ["created_at", "2015-08-24 09:52:26.594725"], ["updated_at", "2015-08-24 09:52:26.594725"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
955
1110
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
956
1111
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
957
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1112
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "198"], ["created_at", "2015-08-24 09:52:26.596640"], ["updated_at", "2015-08-24 09:52:26.596640"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
958
1113
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
959
1114
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
960
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1115
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "199"], ["created_at", "2015-08-24 09:52:26.598521"], ["updated_at", "2015-08-24 09:52:26.598521"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
961
1116
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
962
1117
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
963
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1118
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "200"], ["created_at", "2015-08-24 09:52:26.600593"], ["updated_at", "2015-08-24 09:52:26.600593"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
964
1119
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
965
1120
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
966
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1121
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "201"], ["created_at", "2015-08-24 09:52:26.602741"], ["updated_at", "2015-08-24 09:52:26.602741"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
967
1122
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
968
1123
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
969
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1124
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "202"], ["created_at", "2015-08-24 09:52:26.604796"], ["updated_at", "2015-08-24 09:52:26.604796"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
970
1125
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
971
1126
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
972
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1127
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "203"], ["created_at", "2015-08-24 09:52:26.606729"], ["updated_at", "2015-08-24 09:52:26.606729"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
973
1128
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
974
1129
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
975
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1130
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "204"], ["created_at", "2015-08-24 09:52:26.643391"], ["updated_at", "2015-08-24 09:52:26.643391"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
976
1131
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
977
1132
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
978
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1133
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "205"], ["created_at", "2015-08-24 09:52:26.645739"], ["updated_at", "2015-08-24 09:52:26.645739"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
979
1134
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
980
1135
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
981
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1136
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "206"], ["created_at", "2015-08-24 09:52:26.648047"], ["updated_at", "2015-08-24 09:52:26.648047"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
982
1137
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
983
1138
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
984
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1139
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "207"], ["created_at", "2015-08-24 09:52:26.650451"], ["updated_at", "2015-08-24 09:52:26.650451"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
985
1140
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
986
1141
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
987
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1142
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "208"], ["created_at", "2015-08-24 09:52:26.653002"], ["updated_at", "2015-08-24 09:52:26.653002"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
988
1143
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
989
1144
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
990
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1145
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "209"], ["created_at", "2015-08-24 09:52:26.655136"], ["updated_at", "2015-08-24 09:52:26.655136"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
991
1146
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
992
1147
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
993
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1148
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "210"], ["created_at", "2015-08-24 09:52:26.657163"], ["updated_at", "2015-08-24 09:52:26.657163"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
994
1149
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
995
1150
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
996
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1151
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "211"], ["created_at", "2015-08-24 09:52:26.659238"], ["updated_at", "2015-08-24 09:52:26.659238"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
997
1152
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
998
1153
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
999
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1154
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "212"], ["created_at", "2015-08-24 09:52:26.661481"], ["updated_at", "2015-08-24 09:52:26.661481"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1000
1155
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1001
1156
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1002
1157
|
Parameters: {"filter"=>"file"}
|
1003
1158
|
[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
|
1004
|
-
[1m[36m (0.
|
1005
|
-
Completed 200 OK in
|
1159
|
+
[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
|
1160
|
+
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
1006
1161
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1007
1162
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1008
1163
|
[1m[35m (0.1ms)[0m BEGIN
|
1009
|
-
|
1010
|
-
PushType::
|
1011
|
-
|
1012
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1013
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1164
|
+
------------------------------------------------------------------------------------------
|
1165
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0002_anonymous
|
1166
|
+
------------------------------------------------------------------------------------------
|
1014
1167
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1168
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1169
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1015
1170
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1016
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1171
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "213"], ["created_at", "2015-08-24 09:52:26.678871"], ["updated_at", "2015-08-24 09:52:26.678871"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1017
1172
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1018
1173
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1019
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1174
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "214"], ["created_at", "2015-08-24 09:52:26.681009"], ["updated_at", "2015-08-24 09:52:26.681009"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1020
1175
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1021
1176
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1022
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1177
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "215"], ["created_at", "2015-08-24 09:52:26.682926"], ["updated_at", "2015-08-24 09:52:26.682926"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1023
1178
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1024
1179
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1025
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1180
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "216"], ["created_at", "2015-08-24 09:52:26.684979"], ["updated_at", "2015-08-24 09:52:26.684979"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1026
1181
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1027
1182
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1028
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1183
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "217"], ["created_at", "2015-08-24 09:52:26.686971"], ["updated_at", "2015-08-24 09:52:26.686971"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1029
1184
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1030
1185
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1031
|
-
[1m[35mSQL (0.
|
1186
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "218"], ["created_at", "2015-08-24 09:52:26.689220"], ["updated_at", "2015-08-24 09:52:26.689220"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1032
1187
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1033
1188
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1034
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1189
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "219"], ["created_at", "2015-08-24 09:52:26.691277"], ["updated_at", "2015-08-24 09:52:26.691277"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1035
1190
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1036
1191
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1037
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1192
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "220"], ["created_at", "2015-08-24 09:52:26.693389"], ["updated_at", "2015-08-24 09:52:26.693389"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1038
1193
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1039
1194
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1040
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1195
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "221"], ["created_at", "2015-08-24 09:52:26.695449"], ["updated_at", "2015-08-24 09:52:26.695449"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1041
1196
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1042
1197
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1043
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1198
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "222"], ["created_at", "2015-08-24 09:52:26.697600"], ["updated_at", "2015-08-24 09:52:26.697600"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1044
1199
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1045
1200
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1201
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "223"], ["created_at", "2015-08-24 09:52:26.699702"], ["updated_at", "2015-08-24 09:52:26.699702"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1047
1202
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1048
1203
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1204
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "224"], ["created_at", "2015-08-24 09:52:26.701879"], ["updated_at", "2015-08-24 09:52:26.701879"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1050
1205
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1051
1206
|
[1m[35m (0.1ms)[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1207
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "225"], ["created_at", "2015-08-24 09:52:26.703931"], ["updated_at", "2015-08-24 09:52:26.703931"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1053
1208
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1054
1209
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1210
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "226"], ["created_at", "2015-08-24 09:52:26.705872"], ["updated_at", "2015-08-24 09:52:26.705872"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1056
1211
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1057
1212
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1058
|
-
[1m[36mSQL (0.
|
1213
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "227"], ["created_at", "2015-08-24 09:52:26.707841"], ["updated_at", "2015-08-24 09:52:26.707841"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1059
1214
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1060
1215
|
[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", "
|
1216
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "228"], ["created_at", "2015-08-24 09:52:26.709853"], ["updated_at", "2015-08-24 09:52:26.709853"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1062
1217
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1063
1218
|
[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", "
|
1219
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "229"], ["created_at", "2015-08-24 09:52:26.712225"], ["updated_at", "2015-08-24 09:52:26.712225"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1065
1220
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1066
1221
|
[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", "
|
1222
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "230"], ["created_at", "2015-08-24 09:52:26.714438"], ["updated_at", "2015-08-24 09:52:26.714438"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1068
1223
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1069
1224
|
Processing by PushType::WysiwygMediaController#index as JSON
|
1070
1225
|
Parameters: {"filter"=>"file"}
|
1071
1226
|
[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
|
1072
|
-
[1m[36m (0.
|
1073
|
-
Completed 200 OK in 12ms (Views:
|
1227
|
+
[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
|
1228
|
+
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
1074
1229
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1075
1230
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1076
1231
|
[1m[35m (0.1ms)[0m BEGIN
|
1077
|
-
|
1078
|
-
PushType::
|
1079
|
-
|
1232
|
+
------------------------------------------------------------------------------------------
|
1233
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0001_anonymous
|
1234
|
+
------------------------------------------------------------------------------------------
|
1080
1235
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1081
1236
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1082
|
-
[1m[36m (0.
|
1083
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1084
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe3335f1f40 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150816-9169-1cxk1o>>}}
|
1237
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1085
1238
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1086
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1239
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "231"], ["created_at", "2015-08-24 09:52:26.731101"], ["updated_at", "2015-08-24 09:52:26.731101"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1087
1240
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1088
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1089
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1090
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1091
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1092
|
-
-------------------------------------------------------------------------------------
|
1093
|
-
PushType::WysiwygMediaController::POST #create::with valid asset: test_0002_anonymous
|
1094
|
-
-------------------------------------------------------------------------------------
|
1095
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1096
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1097
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1098
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1099
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe337878058 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150816-9169-1sllxlq>>}}
|
1100
1241
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1101
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1242
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "232"], ["created_at", "2015-08-24 09:52:26.733484"], ["updated_at", "2015-08-24 09:52:26.733484"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1102
1243
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1103
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
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::POST #create::with valid asset: test_0001_anonymous
|
1109
|
-
-------------------------------------------------------------------------------------
|
1110
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1111
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1112
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1113
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1114
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe3317822f8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150816-9169-hkg9ez>>}}
|
1115
1244
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1116
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1245
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "233"], ["created_at", "2015-08-24 09:52:26.735773"], ["updated_at", "2015-08-24 09:52:26.735773"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1117
1246
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1118
|
-
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1119
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1120
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1121
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1122
|
-
-----------------------------------------------------------------------
|
1123
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0003_anonymous
|
1124
|
-
-----------------------------------------------------------------------
|
1125
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1126
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1127
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1128
1247
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
1248
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "234"], ["created_at", "2015-08-24 09:52:26.737794"], ["updated_at", "2015-08-24 09:52:26.737794"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1130
1249
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1131
1250
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1132
|
-
[1m[36mSQL (0.
|
1251
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "235"], ["created_at", "2015-08-24 09:52:26.739889"], ["updated_at", "2015-08-24 09:52:26.739889"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1133
1252
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1134
1253
|
[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", "
|
1254
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "236"], ["created_at", "2015-08-24 09:52:26.741890"], ["updated_at", "2015-08-24 09:52:26.741890"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1136
1255
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1137
1256
|
[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", "
|
1139
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1140
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1141
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1142
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1143
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1144
|
-
-----------------------------------------------------------------------
|
1145
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0002_anonymous
|
1146
|
-
-----------------------------------------------------------------------
|
1147
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1148
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1149
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1150
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1151
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "231"], ["created_at", "2015-08-16 15:55:27.581009"], ["updated_at", "2015-08-16 15:55:27.581009"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1257
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "237"], ["created_at", "2015-08-24 09:52:26.744077"], ["updated_at", "2015-08-24 09:52:26.744077"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1152
1258
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1153
1259
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1154
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1260
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "238"], ["created_at", "2015-08-24 09:52:26.746375"], ["updated_at", "2015-08-24 09:52:26.746375"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1155
1261
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1156
1262
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1157
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1263
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "239"], ["created_at", "2015-08-24 09:52:26.748527"], ["updated_at", "2015-08-24 09:52:26.748527"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1158
1264
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1159
1265
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1160
|
-
[1m[35mSQL (0.
|
1161
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1162
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1163
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1164
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1165
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1166
|
-
-----------------------------------------------------------------------
|
1167
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0001_anonymous
|
1168
|
-
-----------------------------------------------------------------------
|
1169
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1170
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1171
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1172
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1173
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "235"], ["created_at", "2015-08-16 15:55:27.592614"], ["updated_at", "2015-08-16 15:55:27.592614"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1266
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "240"], ["created_at", "2015-08-24 09:52:26.750727"], ["updated_at", "2015-08-24 09:52:26.750727"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1174
1267
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1175
1268
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1176
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1269
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "241"], ["created_at", "2015-08-24 09:52:26.752796"], ["updated_at", "2015-08-24 09:52:26.752796"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1177
1270
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1178
1271
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1179
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1272
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "242"], ["created_at", "2015-08-24 09:52:26.755025"], ["updated_at", "2015-08-24 09:52:26.755025"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1180
1273
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1181
1274
|
[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", "
|
1183
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1184
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1185
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1186
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1187
|
-
[1m[35m (0.0ms)[0m BEGIN
|
1188
|
-
-----------------------------------------------------------------------
|
1189
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0005_anonymous
|
1190
|
-
-----------------------------------------------------------------------
|
1191
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1192
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1193
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1194
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1195
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "239"], ["created_at", "2015-08-16 15:55:27.604482"], ["updated_at", "2015-08-16 15:55:27.604482"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1275
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "243"], ["created_at", "2015-08-24 09:52:26.757224"], ["updated_at", "2015-08-24 09:52:26.757224"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1196
1276
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1197
1277
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1198
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1278
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "244"], ["created_at", "2015-08-24 09:52:26.759318"], ["updated_at", "2015-08-24 09:52:26.759318"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1199
1279
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1200
1280
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1201
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1281
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "245"], ["created_at", "2015-08-24 09:52:26.761383"], ["updated_at", "2015-08-24 09:52:26.761383"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1202
1282
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1203
1283
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1204
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1205
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1206
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1207
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1208
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1209
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1210
|
-
-----------------------------------------------------------------------
|
1211
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_meta: test_0004_anonymous
|
1212
|
-
-----------------------------------------------------------------------
|
1213
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1214
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1215
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1216
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1217
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "243"], ["created_at", "2015-08-16 15:55:27.614889"], ["updated_at", "2015-08-16 15:55:27.614889"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1284
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "246"], ["created_at", "2015-08-24 09:52:26.763647"], ["updated_at", "2015-08-24 09:52:26.763647"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1218
1285
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1219
1286
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1220
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1287
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "247"], ["created_at", "2015-08-24 09:52:26.765878"], ["updated_at", "2015-08-24 09:52:26.765878"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1221
1288
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1222
1289
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1223
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1290
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "248"], ["created_at", "2015-08-24 09:52:26.768251"], ["updated_at", "2015-08-24 09:52:26.768251"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1224
1291
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1225
|
-
|
1226
|
-
|
1227
|
-
[1m[
|
1228
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1229
|
-
|
1292
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1293
|
+
Parameters: {"filter"=>"file"}
|
1294
|
+
[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
|
1295
|
+
[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
|
1296
|
+
Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
1297
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1230
1298
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1231
1299
|
[1m[35m (0.1ms)[0m BEGIN
|
1232
|
-
|
1233
|
-
PushType::
|
1234
|
-
|
1235
|
-
[1m[36m (0.
|
1236
|
-
[1m[35m (0.
|
1300
|
+
------------------------------------------------------------------------------------------
|
1301
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0004_anonymous
|
1302
|
+
------------------------------------------------------------------------------------------
|
1303
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1304
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1237
1305
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1238
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1239
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
1240
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe33a901c60 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150816-9169-sttfr3>>}}
|
1241
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1242
|
-
[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", "247"], ["created_at", "2015-08-16 15:55:27.629853"], ["updated_at", "2015-08-16 15:55:27.629853"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1243
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1244
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1245
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1246
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1247
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1248
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1249
|
-
-----------------------------------------------------------------------
|
1250
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0002_anonymous
|
1251
|
-
-----------------------------------------------------------------------
|
1252
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1253
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1254
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1255
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1256
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "248"], ["created_at", "2015-08-16 15:55:27.635219"], ["updated_at", "2015-08-16 15:55:27.635219"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1257
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1258
1306
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1259
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "249"], ["created_at", "2015-08-
|
1307
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "249"], ["created_at", "2015-08-24 09:52:26.784570"], ["updated_at", "2015-08-24 09:52:26.784570"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1260
1308
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1261
1309
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1262
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "250"], ["created_at", "2015-08-
|
1310
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "250"], ["created_at", "2015-08-24 09:52:26.786776"], ["updated_at", "2015-08-24 09:52:26.786776"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1263
1311
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1264
1312
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1265
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-08-
|
1313
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-08-24 09:52:26.788794"], ["updated_at", "2015-08-24 09:52:26.788794"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1266
1314
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1267
|
-
[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
|
1268
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1269
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1270
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1271
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1272
|
-
-----------------------------------------------------------------------
|
1273
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0005_anonymous
|
1274
|
-
-----------------------------------------------------------------------
|
1275
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1276
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1277
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1278
1315
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1279
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "252"], ["created_at", "2015-08-
|
1316
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "252"], ["created_at", "2015-08-24 09:52:26.790847"], ["updated_at", "2015-08-24 09:52:26.790847"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1280
1317
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1281
1318
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1282
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "253"], ["created_at", "2015-08-
|
1319
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "253"], ["created_at", "2015-08-24 09:52:26.792953"], ["updated_at", "2015-08-24 09:52:26.792953"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1283
1320
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1284
1321
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1285
|
-
[1m[35mSQL (0.
|
1322
|
+
[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", "254"], ["created_at", "2015-08-24 09:52:26.795120"], ["updated_at", "2015-08-24 09:52:26.795120"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1286
1323
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1287
1324
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1288
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1325
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "255"], ["created_at", "2015-08-24 09:52:26.797334"], ["updated_at", "2015-08-24 09:52:26.797334"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1289
1326
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1290
|
-
[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
|
1291
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1292
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1293
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1294
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1295
|
-
-----------------------------------------------------------------------
|
1296
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0001_anonymous
|
1297
|
-
-----------------------------------------------------------------------
|
1298
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1299
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1300
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1301
1327
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1302
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1328
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "256"], ["created_at", "2015-08-24 09:52:26.799424"], ["updated_at", "2015-08-24 09:52:26.799424"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1303
1329
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1304
1330
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1305
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1331
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "257"], ["created_at", "2015-08-24 09:52:26.801532"], ["updated_at", "2015-08-24 09:52:26.801532"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1306
1332
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1307
1333
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1308
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1334
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "258"], ["created_at", "2015-08-24 09:52:26.803739"], ["updated_at", "2015-08-24 09:52:26.803739"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1309
1335
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1310
1336
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1311
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1337
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "259"], ["created_at", "2015-08-24 09:52:26.806015"], ["updated_at", "2015-08-24 09:52:26.806015"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1312
1338
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1313
|
-
[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
|
1314
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1315
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1316
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1317
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1318
|
-
-----------------------------------------------------------------------
|
1319
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0004_anonymous
|
1320
|
-
-----------------------------------------------------------------------
|
1321
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1322
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1323
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1324
1339
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1325
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1340
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "260"], ["created_at", "2015-08-24 09:52:26.808221"], ["updated_at", "2015-08-24 09:52:26.808221"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1326
1341
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1327
1342
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1328
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1343
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "261"], ["created_at", "2015-08-24 09:52:26.810310"], ["updated_at", "2015-08-24 09:52:26.810310"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1329
1344
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1330
1345
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1331
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1346
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "262"], ["created_at", "2015-08-24 09:52:26.812505"], ["updated_at", "2015-08-24 09:52:26.812505"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1332
1347
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1333
1348
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1334
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1349
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "263"], ["created_at", "2015-08-24 09:52:26.814607"], ["updated_at", "2015-08-24 09:52:26.814607"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1335
1350
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1336
|
-
[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
|
1337
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1338
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1339
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1340
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1341
|
-
-----------------------------------------------------------------------
|
1342
|
-
PushType::WysiwygMediaHelper::#wysiwyg_assets_hash: test_0003_anonymous
|
1343
|
-
-----------------------------------------------------------------------
|
1344
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1345
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1346
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1347
1351
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1348
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1352
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "264"], ["created_at", "2015-08-24 09:52:26.816798"], ["updated_at", "2015-08-24 09:52:26.816798"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1349
1353
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1350
1354
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1351
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1355
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "265"], ["created_at", "2015-08-24 09:52:26.819014"], ["updated_at", "2015-08-24 09:52:26.819014"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1352
1356
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1353
1357
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1354
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1358
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "266"], ["created_at", "2015-08-24 09:52:26.821242"], ["updated_at", "2015-08-24 09:52:26.821242"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1355
1359
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1356
|
-
|
1357
|
-
|
1358
|
-
[1m[
|
1359
|
-
[1m[
|
1360
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1361
|
+
Parameters: {"filter"=>"file"}
|
1362
|
+
[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
|
1363
|
+
[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
|
1364
|
+
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
1365
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1366
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1367
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1368
|
+
------------------------------------------------------------------------------------
|
1369
|
+
PushType::WysiwygMediaControllerTest::POST #create::asset count: test_0001_anonymous
|
1370
|
+
------------------------------------------------------------------------------------
|
1371
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1372
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1373
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1360
1374
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1375
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
1376
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9da9cacc60 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150824-2942-etq4ka>>}}
|
1377
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1378
|
+
[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", "267"], ["created_at", "2015-08-24 09:52:26.840635"], ["updated_at", "2015-08-24 09:52:26.840635"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1379
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1380
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1381
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1361
1382
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1362
1383
|
[1m[35m (0.1ms)[0m ROLLBACK
|